Package | krewfw.core_internal |
Class | public class NotificationPublisher |
Inheritance | NotificationPublisher ![]() |
Property | Defined By | ||
---|---|---|---|
numListener : int [read-only] | NotificationPublisher |
Method | Defined By | ||
---|---|---|---|
NotificationPublisher(eventType:String = anonymous) | NotificationPublisher | ||
addListener(listener:KrewGameObject, callback:Function):void | NotificationPublisher | ||
publish(eventArgs:Object):void | NotificationPublisher | ||
removeListener(listener:KrewGameObject):Boolean | NotificationPublisher |
numListener | property |
numListener:int
[read-only] public function get numListener():int
NotificationPublisher | () | Constructor |
public function NotificationPublisher(eventType:String = anonymous)
eventType:String (default = anonymous )
|
addListener | () | method |
public function addListener(listener:KrewGameObject, callback:Function):void
Parameters
listener:KrewGameObject | |
callback:Function |
publish | () | method |
public function publish(eventArgs:Object):void
Parameters
eventArgs:Object |
removeListener | () | method |
public function removeListener(listener:KrewGameObject):Boolean
Parameters
listener:KrewGameObject |
Boolean |