Package | krewfw.core_internal |
Class | public class NotificationService |
Inheritance | NotificationService ![]() |
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):void
Parameters
listener:KrewGameObject | |
eventType:String | |
callback:Function |
broadcastMessage | () | method |
public function broadcastMessage(recallCount:int = 0):void
Parameters
recallCount:int (default = 0 )
|
dumpMessageQueue | () | method |
public function dumpMessageQueue():void
postMessage | () | method |
public function postMessage(eventType:String, eventArgs:Object):void
Parameters
eventType:String | |
eventArgs:Object |
removeListener | () | method |
public function removeListener(listener:KrewGameObject, eventType:String):Boolean
Parameters
listener:KrewGameObject | |
eventType:String |
Boolean |