Here are the agents I plan to develop. Agents control several Behaviors to achieve a given goal.
At start, an agent is given
All agents have
The stress level is an instance of the StressLevel class.
A set of sequences used to check the behaviors statuses at regular intervals.
List of all the Agents created so far.
All behaviors can
Creates an other agent of the given type.
Destroy an agent.
Create the other agents and dispatch the units among them. It is the first created agent, initialized with all available units.
It has these properties
Reference to an agent of type MachinaSexual
Reference to an agent of type DestroyerAgent
Reference to an agent of type WorkingAgent
Reference to an agent of type BuilderAgent
It does these actions in this order
In charge of making units.
Attacks a city.
Works, i.e. harvest resources.
This Agent is in charge of building, it is the only one who is able to build entities - not units. It is in charge of finding the right places, of building the right amount of building types.
This Agent handles these behaviors
At start, create the behaviors and give the OnDemandBuilder an amout of units, depending on the available resources and the available units. The