Class World

java.lang.Object
  |
  +--World
Direct Known Subclasses:
NodeManager

public class World
extends java.lang.Object

The class that manages collections of entities.
It can cover a collection of entities that are inside an egg - or the collection of entities that is unconfined and fills all space.


Method Summary
 Node addNewAgent()
          Adds a new Node to this world
 boolean contains(Node e)
          Returns true iff this world contains Node e
 LinkManager getLinkManager()
          returns the LinkManager for this World
 boolean killThisNode(Node e)
          Destroys a specified agent within this world
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addNewAgent

public Node addNewAgent()
Adds a new Node to this world

killThisNode

public boolean killThisNode(Node e)
Destroys a specified agent within this world

contains

public boolean contains(Node e)
Returns true iff this world contains Node e

getLinkManager

public LinkManager getLinkManager()
returns the LinkManager for this World

main

public static void main(java.lang.String[] args)