Class Wait<A extends Actor>

  • All Implemented Interfaces:
    Action<A>

    public final class Wait<A extends Actor>
    extends TemporalAction<A>
    Wait for specified number of seconds.
    • Constructor Detail

      • Wait

        public Wait​(float seconds)
        Parameters:
        seconds - waiting time, action duration
    • Method Detail

      • getActor

        @Nullable
        public A getActor()
        Returns:
        actor that performs the action
      • setActor

        public void setActor​(@Nullable
                             A actor)
        Description copied from interface: Action
        Sets actor for the action
        Parameters:
        actor - actor to be set for action