Class ail.World
All Packages Class Hierarchy This Package Previous Next Index
Class ail.World
Object
|
+----ail.World
public class World
extends Object
landscapes
A matrix of landscapes for an entire world.
ail.World ()
daemon ()
This function is the gaia mechanism.
findAgent (Agent)
Find a particular Agent in a landscape.
landscapes
public ail.Landscape[][] landscapes
A matrix of landscapes for an entire world.
World
public World()
daemon
public void daemon()
This function is the gaia mechanism. It is responsible for maintaining the world.
findAgent
public ail.Landscape findAgent(Agent a)
Find a particular Agent in a landscape.
Ugh, this may not be the most performance efficicent,
but Cafe is yelling at me for including Landscape in
Agent. This is an alternative design.
Parameters:
Agent - The agent you are looking for
Returns:
The landscape that the agent resides in
All Packages Class Hierarchy This Package Previous Next Index