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.


Method Summary
 void affectStatusBits(int and, int xor)
          Modify an node's status bits.
 int distanceBetween(Node e1, Node e2)
          returns distance in "pixels" between e1 and e2
 boolean killThisNode(Node e)
          Destroys a specified agent within this world
static void main(java.lang.String[] args)
           
 
Methods inherited from class World
addNewAgent, contains, getLinkManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)