Class Agent0D<T extends AgentGrid0D>

  • All Implemented Interfaces:
    java.io.Serializable

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

      • Fields inherited from class HAL.GridsAndAgents.AgentBase

        G
    • Constructor Summary

      Constructors 
      Constructor Description
      Agent0D()  
    • 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>