class mlpy.agents.fsm.EmptyEvent(state=None, machine=None, delay=None, *args, **kwargs)[source]

Bases: mlpy.agents.fsm.Event

A no-op transition event.

A no-op transition event does nothing when it is fired; i.e. it stays in the same state without transitioning.


state : FSMState, optional

The current state.

machine : StateMachine, optional

Reference to the state machine.

delay : int, optional

The amount of time (milliseconds) by which checking this event is delayed. Default is 0.

args : tuple, optional

Positional parameters passed to the next state.

kwargs : dict, optional

Non-positional parameters passed to the next state.


ready() Check if the event is ready.