| Package | artcustomer.maxima.context |
| Class | public class InteractiveContext |
| Inheritance | InteractiveContext EventContext Object |
| Implements | IGameContext |
| Subclasses | CrossPlatformInputsContext |
| Method | Defined By | ||
|---|---|---|---|
Constructor
| InteractiveContext | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Add an eventListener. | EventContext | |
destroy():void [override]
Destroy InteractiveContext. | InteractiveContext | ||
![]() | dispatchEvent(e:Event):Boolean
Dispatch an event. | EventContext | |
![]() | hasEventListener(type:String):Boolean
Test an eventlistener. | EventContext | |
hideLogo():void
Hide Framework logo. | InteractiveContext | ||
hideMenu():void
Hide Framework context menu. | InteractiveContext | ||
move(x:int = 0, y:int = 0):void
Move the context view. | InteractiveContext | ||
moveLogo(align:String, verticalMargin:int = 0, horizontalMargin:int = 0):void
Move Framework logo. | InteractiveContext | ||
refreshView():void
Refresh the context view. | InteractiveContext | ||
![]() | removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Remove an eventlistener. | EventContext | |
setup():void [override]
Setup InteractiveContext. | InteractiveContext | ||
showLogo():void
Show Framework logo. | InteractiveContext | ||
showMenu():void
Show Framework context menu. | InteractiveContext | ||
toggleFullScreen():void
Switch Normal / FullScreen mode
| InteractiveContext | ||
![]() | willTrigger(type:String):Boolean
Test event trigger. | EventContext | |
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | ||||
| InteractiveContext | () | Constructor |
public function InteractiveContext()Constructor
| destroy | () | method |
override public function destroy():voidDestroy InteractiveContext.
| hideLogo | () | method |
public function hideLogo():voidHide Framework logo.
| hideMenu | () | method |
public function hideMenu():voidHide Framework context menu.
| move | () | method |
public function move(x:int = 0, y:int = 0):voidMove the context view.
Parameters
x:int (default = 0) | |
y:int (default = 0) |
| moveLogo | () | method |
public function moveLogo(align:String, verticalMargin:int = 0, horizontalMargin:int = 0):voidMove Framework logo.
Parameters
align:String — : Use consts of LogoPosition
| |
verticalMargin:int (default = 0) | |
horizontalMargin:int (default = 0) |
| refreshView | () | method |
public function refreshView():voidRefresh the context view.
| setup | () | method |
override public function setup():voidSetup InteractiveContext.
| showLogo | () | method |
public function showLogo():voidShow Framework logo.
| showMenu | () | method |
public function showMenu():voidShow Framework context menu.
| toggleFullScreen | () | method |
public function toggleFullScreen():voidSwitch Normal / FullScreen mode
| error | Event |
| gameError | Event |
| gameFocusIn | Event |
| gameFocusOut | Event |
| gameFullScreen | Event |
| gameNormalScreen | Event |
| gameResize | Event |
| illegalError | Event |