Send a named event to an entity's state machine. Checks the current state's on handlers for a matching event.
on
ECS instance (structural typing)
Entity to send event to
Event name to match against on handlers
true if a transition occurred, false otherwise
Send a named event to an entity's state machine. Checks the current state's
onhandlers for a matching event.