All Implemented Interfaces:
ITickingTransition<S>, IStateMachineEvent<S>, IStateMachineTransition<S>
Direct Known Subclasses:
AIEventTarget, TickingOneTimeEvent

public class TickingEvent<S extends IState> extends TickingTransition<S> implements IStateMachineEvent<S>
Event with a tickrate for a statemachine using a tickrate.
  • Constructor Details

    • TickingEvent

      protected TickingEvent(@NotNull @NotNull IStateEventType eventType, @NotNull @NotNull IBooleanConditionSupplier condition, @NotNull @NotNull IStateSupplier<S> nextState, int tickRate)
      Creates a new TickingEvent
      Parameters:
      eventType - The type of the event
      condition - condition when the event applies
      nextState - state the event transitions into
      tickRate - tickrate at which the event is checked
  • Method Details