Interface ITickingTransition<S extends IState>

All Superinterfaces:
IStateMachineTransition<S>
All Known Implementing Classes:
AIEventTarget, AIOneTimeEventTarget, AITarget, TickingEvent, TickingOneTimeEvent, TickingTransition

public interface ITickingTransition<S extends IState> extends IStateMachineTransition<S>
  • Method Details

    • getTickRate

      int getTickRate()
      Returns the intended tickRate of the AITarget
      Returns:
      Tickrate
    • setTickRate

      void setTickRate(int tickRate)
      Allow to dynamically change the tickrate
      Parameters:
      tickRate - rate at which the AITarget should tick
    • countdownTicksToUpdate

      int countdownTicksToUpdate(int reduction)
      Returns a preset offset to Ticks
      Returns:
      random
    • setTicksToUpdate

      void setTicksToUpdate(int ticksToUpdate)
      Sets the ticks until next update
      Parameters:
      ticksToUpdate -