| Package | com.whirled.avrg |
| Class | public class AVRGameAvatar |
See also
| Property | Defined by | ||
|---|---|---|---|
| bounds : Rectangle The bounding rectangle of the avatar, in pixels.
| AVRGameAvatar | ||
| entityId : String The entity id of the player's avatar.
| AVRGameAvatar | ||
| isIdle : Boolean Whether the avatar is currently idle.
| AVRGameAvatar | ||
| isMoving : Boolean Whether the avatar is currently moving.
| AVRGameAvatar | ||
| moveSpeed : Number The avatar's move speed, in pixels per second.
| AVRGameAvatar | ||
| orientation : int The orientation of the avatar, measured in counter-clockwise degrees from front facing.
| AVRGameAvatar | ||
| state : String The avatar's current state.
| AVRGameAvatar | ||
| x : Number The x position of the avatar's registration point, measured in room coordinates.
| AVRGameAvatar | ||
| y : Number The y position of the avatar's registration point, measured in room coordinates.
| AVRGameAvatar | ||
| z : Number The z position of the avatar's registration point, measured in room coordinates.
| AVRGameAvatar | ||
| bounds | property |
public var bounds:Rectangle The bounding rectangle of the avatar, in pixels. This is in the same coodinates as the
paintable area returned by the LocalSubControl. For example an avatar on the
left side of a normal room will have a bounds.left near zero.
See also
| entityId | property |
public var entityId:StringThe entity id of the player's avatar.
See also
| isIdle | property |
public var isIdle:BooleanWhether the avatar is currently idle. Player avatars automatically go into this state after not moving the mouse over the browser or flash player window for a few minutes.
| isMoving | property |
public var isMoving:BooleanWhether the avatar is currently moving.
NOTE: this value is always false for server agents. Avatars are considered to arrive immediately at their destinations.
| moveSpeed | property |
public var moveSpeed:NumberThe avatar's move speed, in pixels per second.
NOTE: this value is not available for server agents. Avatars are considered to arrive immediately at their destinations.
| orientation | property |
public var orientation:intThe orientation of the avatar, measured in counter-clockwise degrees from front facing. If the avatar is facing towards the player's screen, the orientation is 0. Facing to the right, 90°, to the rear 180° and to the left 270°.
| state | property |
public var state:StringThe avatar's current state. These are the same states that appear on the avatar's "Change state" menu.
| x | property |
public var x:NumberThe x position of the avatar's registration point, measured in room coordinates.
See also
| y | property |
public var y:NumberThe y position of the avatar's registration point, measured in room coordinates.
See also
| z | property |
public var z:NumberThe z position of the avatar's registration point, measured in room coordinates.
See also