Class NodeManager
java.lang.Object
|
+--World
|
+--NodeManager
- public class NodeManager
- extends World
The class that manages the particular collection of entities that is universal -
and is not confined to a particular egg.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
killThisNode
public final boolean killThisNode(Node e)
- Description copied from class:
World
- Destroys a specified agent within this world
- Overrides:
killThisNode
in class World
distanceBetween
public final int distanceBetween(Node e1,
Node e2)
- returns distance in "pixels" between e1 and e2
affectStatusBits
public final void affectStatusBits(int and,
int xor)
- Modify an node's status bits. AND them with "and", and then XOR them with "xor"
main
public static void main(java.lang.String[] args)