| Package | krewfw.core_internal |
| Class | public class NotificationService |
| Inheritance | NotificationService Object |
| Property | Defined By | ||
|---|---|---|---|
| MAX_LOOP_COUNT : int = 8 [static] | NotificationService | ||
| Method | Defined By | ||
|---|---|---|---|
| NotificationService | |||
addListener(listener:KrewGameObject, eventType:String, callback:Function):void | NotificationService | ||
broadcastMessage(recallCount:int = 0):void | NotificationService | ||
dumpMessageQueue():void | NotificationService | ||
postMessage(eventType:String, eventArgs:Object):void | NotificationService | ||
removeListener(listener:KrewGameObject, eventType:String):Boolean | NotificationService | ||
| MAX_LOOP_COUNT | property |
public static var MAX_LOOP_COUNT:int = 8| NotificationService | () | Constructor |
public function NotificationService()| addListener | () | method |
public function addListener(listener:KrewGameObject, eventType:String, callback:Function):voidParameters
listener:KrewGameObject | |
eventType:String | |
callback:Function |
| broadcastMessage | () | method |
public function broadcastMessage(recallCount:int = 0):voidParameters
recallCount:int (default = 0) |
| dumpMessageQueue | () | method |
public function dumpMessageQueue():void| postMessage | () | method |
public function postMessage(eventType:String, eventArgs:Object):voidParameters
eventType:String | |
eventArgs:Object |
| removeListener | () | method |
public function removeListener(listener:KrewGameObject, eventType:String):BooleanParameters
listener:KrewGameObject | |
eventType:String |
Boolean |