Package | com.whirled.avrg |
Class | public class AVRGameControl |
Inheritance | AVRGameControl ![]() ![]() |
AVR games can be significantly more complicated than lobbied games. Please consult the whirled wiki section on AVRGs as well as the AVRG discussion forum if you're having any problems.
See also
Property | Defined by | ||
---|---|---|---|
agent : AgentSubControl
[read-only]
Accesses the client's agent sub control.
| AVRGameControl | ||
game : GameSubControlClient
[read-only]
Accesses the client's game sub control.
| AVRGameControl | ||
local : LocalSubControl
[read-only]
Accesses the client's local sub control.
| AVRGameControl | ||
player : PlayerSubControlClient
[read-only]
Accesses the client's local player sub control.
| AVRGameControl | ||
room : RoomSubControlClient
[read-only]
Accesses the client's room sub control for the player's current room.
| AVRGameControl |
Method | Defined by | ||
---|---|---|---|
AVRGameControl(disp:DisplayObject)
Creates a new game control for an AVR game client.
| AVRGameControl | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener.
| AbstractControl | |
![]() |
doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server
together.
| AbstractControl | |
![]() |
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just
loaded up our SWF by itself?
| AbstractControl | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
| AbstractControl |
agent | property |
agent:AgentSubControl
[read-only]Accesses the client's agent sub control.
Implementation public function get agent():AgentSubControl
game | property |
game:GameSubControlClient
[read-only]Accesses the client's game sub control.
Implementation public function get game():GameSubControlClient
local | property |
local:LocalSubControl
[read-only]Accesses the client's local sub control.
Implementation public function get local():LocalSubControl
player | property |
player:PlayerSubControlClient
[read-only]Accesses the client's local player sub control.
Implementation public function get player():PlayerSubControlClient
room | property |
room:RoomSubControlClient
[read-only]Accesses the client's room sub control for the player's current room.
Implementation public function get room():RoomSubControlClient
AVRGameControl | () | constructor |
public function AVRGameControl(disp:DisplayObject)
Creates a new game control for an AVR game client.
Parametersdisp:DisplayObject |