Class DepthListNode
- java.lang.Object
-
- com.bombinggames.wurfelengine.core.DepthListNode
-
- All Implemented Interfaces:
java.lang.Iterable<AbstractGameObject>
public class DepthListNode extends java.lang.Object implements java.lang.Iterable<AbstractGameObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
DepthListNode.DepthListIterator
class
DepthListNode.ReverseDepthListIterator
-
Constructor Summary
Constructors Constructor Description DepthListNode(AbstractGameObject content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AbstractGameObject content)
AbstractGameObject
getContent()
DepthListNode
getNext()
java.util.Iterator<AbstractGameObject>
iterator()
DepthListNode.ReverseDepthListIterator
iteratorReverse()
-
-
-
Constructor Detail
-
DepthListNode
public DepthListNode(AbstractGameObject content)
- Parameters:
content
-
-
-
Method Detail
-
getNext
public DepthListNode getNext()
- Returns:
-
getContent
public AbstractGameObject getContent()
- Returns:
-
add
public void add(AbstractGameObject content)
- Parameters:
content
-
-
iterator
public java.util.Iterator<AbstractGameObject> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<AbstractGameObject>
-
iteratorReverse
public DepthListNode.ReverseDepthListIterator iteratorReverse()
- Returns:
-
-