| Package | artcustomer.maxima.events |
| Class | public class GameEvent |
| Inheritance | GameEvent flash.events.Event |
| Method | Defined By | ||
|---|---|---|---|
GameEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, context:IGameContext = null, contextWidth:int = 0, contextHeight:int = 0, stageWidth:int = 0, stageHeight:int = 0)
Constructor
| GameEvent | ||
clone():Event [override]
Clone GameEvent. | GameEvent | ||
toString():String [override]
Get String value of GameEvent. | GameEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| GAME_DESTROY : String = gameDestroy [static] | GameEvent | ||
| GAME_FOCUS_IN : String = gameFocusIn [static] | GameEvent | ||
| GAME_FOCUS_OUT : String = gameFocusOut [static] | GameEvent | ||
| GAME_FULL_SCREEN : String = gameFullScreen [static] | GameEvent | ||
| GAME_NORMAL_SCREEN : String = gameNormalScreen [static] | GameEvent | ||
| GAME_PAUSE : String = gamePause [static] | GameEvent | ||
| GAME_RESET : String = gameReset [static] | GameEvent | ||
| GAME_RESIZE : String = gameResize [static] | GameEvent | ||
| GAME_RESUME : String = gameResume [static] | GameEvent | ||
| GAME_SETUP : String = gameSetup [static] | GameEvent | ||
| GameEvent | () | Constructor |
public function GameEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, context:IGameContext = null, contextWidth:int = 0, contextHeight:int = 0, stageWidth:int = 0, stageHeight:int = 0)Constructor
Parameterstype:String | |
bubbles:Boolean (default = false) | |
cancelable:Boolean (default = false) | |
context:IGameContext (default = null) | |
contextWidth:int (default = 0) | |
contextHeight:int (default = 0) | |
stageWidth:int (default = 0) | |
stageHeight:int (default = 0) |
| clone | () | method |
override public function clone():EventClone GameEvent.
ReturnsEvent —
|
| toString | () | method |
override public function toString():StringGet String value of GameEvent.
ReturnsString —
|
| GAME_DESTROY | Constant |
public static const GAME_DESTROY:String = gameDestroy| GAME_FOCUS_IN | Constant |
public static const GAME_FOCUS_IN:String = gameFocusIn| GAME_FOCUS_OUT | Constant |
public static const GAME_FOCUS_OUT:String = gameFocusOut| GAME_FULL_SCREEN | Constant |
public static const GAME_FULL_SCREEN:String = gameFullScreen| GAME_NORMAL_SCREEN | Constant |
public static const GAME_NORMAL_SCREEN:String = gameNormalScreen| GAME_PAUSE | Constant |
public static const GAME_PAUSE:String = gamePause| GAME_RESET | Constant |
public static const GAME_RESET:String = gameReset| GAME_RESIZE | Constant |
public static const GAME_RESIZE:String = gameResize| GAME_RESUME | Constant |
public static const GAME_RESUME:String = gameResume| GAME_SETUP | Constant |
public static const GAME_SETUP:String = gameSetup