Does the agent like having other entities in the area
public int companionshipLevel
A factor that indicates the desire of a compatable companion
public int currentAge
Incremented each "turn"
public int currentHealthFactor
How healthy is the agent?
This can be brought down by
public int currentHungerFactor
How hungry is the agent?
public int currentSize
How big is the agent?
public int currentSleepFactor
How sleep is the agent?
Note that some agents may not sleep
public int dominantGender
This is the "mother" gender. The children will be of this gender's class.
We could do away with this by saying that the 0 gender is the "dominant" gender.
Although, it could be cool if we make this part of the gene pool... =)
public int gender
Which gender this particular agent is.
Should be less than levelOfSexuality.
public int leadershipLevel
We could fold this into the dominant gender. (i.e. Alpha females)
A high leadership level in an agent means that other compatible agents
are likely to follow the actions of this one.
public int lengthOfLife
This is the life span of the agent. Probably computed at spawn time (for our ease).
The agent can still die due to hunger, death, etc.
public int levelOfSexuality
Returns the number of "mates" that are needed to successfully reproduce
public int maxHealthFactor
What is the highest state of health for the agent?
Attempts to initiate a method of attack to all "hostile" agents in the landscape
Hostiles may be definied by isCompatible method, although, we may want same
agent classes beating up on each other.
I believe that attacking and defense will be implemented much later on though.
This could be a cool concept. As I mentioned before, the DNA dictates the
compatibility. Therefore, any Agents with "compatible" DNA can reproduce.
For ease of use, any children are produdced by the dominant gender.