class
EventDispatcher
dispatch<T>(event:T, target:Component = null):Void
hasEvent<T>(type:String, listener::T->Void = null):Bool
registerEvent<T>(type:String, listener::T->Void):Void
removeAllListeners():Void
unregisterEvent<T>(type:String, listener::T->Void):Void