Class Agent0D<T extends AgentGrid0D>

  • All Implemented Interfaces:

    public abstract class Agent0D<T extends AgentGrid0D>
    extends AgentBase<T>
    An agent type without any spatial representation
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class HAL.GridsAndAgents.AgentBase

    • Constructor Summary

      Constructor Description
    • Method Summary

      Modifier and Type Method Description
      int Age()
      returns the age of the agent, in ticks.
      void Dispose()
      deletes the agent
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Agent0D

        public Agent0D()
    • Method Detail

      • Age

        public int Age()
        returns the age of the agent, in ticks. Be sure to use IncTick on the AgentGrid appropriately for this function to work.
        Specified by:
        Age in class AgentBase<T extends AgentGrid0D>