Class ail.World
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ail.World

Object
   |
   +----ail.World

public class World
extends Object

Variable Index

 o landscapes
A matrix of landscapes for an entire world.

Constructor Index

 o ail.World()

Method Index

 o daemon()
This function is the gaia mechanism.
 o findAgent(Agent)
Find a particular Agent in a landscape.

Variables

 o landscapes
public ail.Landscape[][] landscapes
A matrix of landscapes for an entire world.

Constructors

 o World
public World()

Methods

 o daemon
public void daemon()
This function is the gaia mechanism. It is responsible for maintaining the world.

 o 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