| Package | krewfw.core_internal |
| Class | public class NotificationPublisher |
| Inheritance | NotificationPublisher Object |
| 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):voidParameters
listener:KrewGameObject | |
callback:Function |
| publish | () | method |
public function publish(eventArgs:Object):voidParameters
eventArgs:Object |
| removeListener | () | method |
public function removeListener(listener:KrewGameObject):BooleanParameters
listener:KrewGameObject |
Boolean |