Class Action

  • Direct Known Subclasses:
    EntityAction

    public abstract class Action
    extends Object
    An action which happens during the execution of a simulation.
    Author:
    Tim Neumann
    • Constructor Detail

      • Action

        public Action​(long tickNumber)
        Create an action.
        Parameters:
        tickNumber - the tick the action happened at
    • Method Detail

      • getDescription

        public abstract String getDescription()
        Returns:
        the description of this action
      • getTickNumber

        public long getTickNumber()
        Returns:
        the number of the simulation tick the action happened