Front controller implementation for application events / commands.
FeverController is just a central place to put your
event / command pair.
Remoting events are declared in FeverEventList
Take a look at Pixlib Front Controller API for more informations.
Basic command are already registred in controller like LockInteractionCommand with fever.events.FeverEventList#LOCK_INTERACTION} event.
public function broadcastEvent(event:IEvent):Void
Broadcasts passed-in event
Executes registred command.
public function fireEventType(type:EventType):VoidShortcut to broacast basic event type without any specific event structure.
Take a look at broadcastEvent() to disptach a custom event.
type | Event type to dispatch |