| Modifier and Type | Field and Description |
|---|---|
protected Node |
GameDebugger.wireframe |
| Modifier and Type | Method and Description |
|---|---|
Node |
Game.get(String nodeName)
Retrives a node by it's name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Game.add(Node node)
Adds a node the scenegraph.
|
void |
Game.add(Node node,
boolean forceName)
Adds a node the scenegraph.
|
boolean |
Game.has(Node node)
Checks if a node exists in the scenegraph.
|
void |
Game.remove(Node node)
Removes a node from the scenegraph.
|
| Modifier and Type | Method and Description |
|---|---|
void |
QuickPassFilter.post(Node node,
RenderPass pass,
RenderEngine renderEngine) |
void |
PassFilter.post(Node node,
RenderPass pass,
RenderEngine renderEngine)
Called after the pass.
|
void |
QuickPassFilter.pre(Node node,
RenderPass pass,
RenderEngine renderEngine) |
void |
PassFilter.pre(Node node,
RenderPass pass,
RenderEngine renderEngine)
Called before the pass.
|
void |
RenderEngine.render(Node node) |
void |
BasicRenderEngine.render(Node node) |
void |
RenderEngine.render(Node node,
boolean clear) |
void |
BasicRenderEngine.render(Node node,
boolean clear) |
| Modifier and Type | Method and Description |
|---|---|
void |
BasicShadowRenderer.pre(Node node,
RenderPass pass,
RenderEngine renderEngine) |
| Modifier and Type | Class and Description |
|---|---|
class |
ShortLifeNode |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
Node.parent
Parent Node.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Node> |
Node.children
Maps children's names to children.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Node.add(Entity entity)
Add an Entity to this Node.
|
Node |
Node.add(Node node)
Adds Node as a children.
|
Node |
Node.add(Node node,
boolean forceName)
Adds Node as a children.
|
Node |
Node.getParent() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Node> |
Node.getChildren()
Returns List of child-Nodes
|
| Modifier and Type | Method and Description |
|---|---|
Node |
Node.add(Node node)
Adds Node as a children.
|
Node |
Node.add(Node node,
boolean forceName)
Adds Node as a children.
|
boolean |
Node.remove(Node node)
Removes child Node from this Node.
|
void |
Node.setParent(Node parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
Node.setChildren(Map<String,Node> children)
Replaces children.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
BoundingBox.makeNode() |
static Node |
BoundingBox.makeNode(BoundingBox bb) |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
QuickEntity.parent |
| Modifier and Type | Method and Description |
|---|---|
Node |
QuickEntity.boxed()
Returns a Node containing this Entity.
|
Node |
Figure.boxed()
Returns a Node with 1
Entity (this Figure) |
Node |
Entity.boxed()
Returns a Node containing this Entity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Entity.setParent(Node parent)
Set the parent node
|
| Modifier and Type | Field and Description |
|---|---|
protected Node |
Chaser.chaseTo |
| Constructor and Description |
|---|
Chaser(Node to) |
Chaser(Node to,
float speed) |
Chaser(Node to,
float speed,
float minDist,
float maxDist) |
| Modifier and Type | Class and Description |
|---|---|
class |
AxisDebugger |
class |
GridDebugger |
| Modifier and Type | Field and Description |
|---|---|
protected List<Node> |
EntityRetriever.nodes
Nodes found while scanning
|
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
SceneGraphRetriever.getNodes()
Returns all nodes found while scanning.
|
List<Node> |
EntityRetriever.getNodes()
Call #scan(Node) first!
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Entity> |
EntityRetriever.getAll(Node node)
This method flattens a scenegraph,
NOTE: this method adds all encountered nodes
to the object's nodes list.
|
protected List<Entity> |
EntityRetriever.getAll(Node node,
boolean addNodes)
This method flattens a scenegraph
|
void |
SceneGraphWalker.Visitor.on(Node node)
On a new node.
|
void |
SceneGraphWalker.scan(Node node)
Scans the given Node
This should scan all child nodes.
|
void |
NodeScanner.scan(Node node)
Scans the given Node
|
void |
FigureRetriever.scan(Node node)
Performs the search.
|
void |
EntityRetriever.scan(Node node)
Performs the search.
|
void |
DepthFirstWalker.scan(Node node)
Scans the given Node
This should scan all child nodes.
|
| Constructor and Description |
|---|
SingleEntityRetriever(Node toScan)
Calls #scan(Node) in order to allow easy
chaining:
Entity e = new SingleEntityRetriever(someNode).get(Entity.class); |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeProvider.get() |
Node |
FigureProvider.get()
Returns the following Node Structure:
FigureProvider f = new FigureProvider("name", "floor", "another");
f.get();
| Node(name)
|
| -> | Node(floor)
| | -> Figure(floor)
|
| -> | Node(another)
| | -> Figure(another)
|
Copyright © 2014. All rights reserved.