Packagestencyl.api.data
Classpublic class Game
InheritanceGame Inheritance Object



Public Properties
 PropertyDefined By
  ACTOR_ID : int = 3
[static]
Game
  actualHeight : Number
Game
  actualWidth : Number
Game
  collisionGroups : Array
Game
  controller : Array
Game
  defaultSceneID : Number
Game
  DOODAD_ID : int = 2
[static]
Game
  engineVersion : Number
Game
  gameAttributes : Array
Game
  gameID : Number
Game
  groups : Array
Game
  height : Number
Game
  instance : Game
[static]
Game
  PLAYER_ID : int = 0
[static]
Game
  REGION_ID : int = -2
[static]
Game
  scale : Number
Game
  scenes : Array
Game
  shapes : Array
Game
  TERRAIN_ID : int = 1
[static]
Game
  width : Number
Game
Public Methods
 MethodDefined By
  
Game(xml:XML)
Game
  
[static]
Game
  
readCollisionGroups(list:XMLList):Array
Game
  
readGameAttributes(list:XMLList):Array
[static]
Game
  
readGroups(list:XMLList):Array
Game
  
readInput(list:XMLList):Array
Game
  
readScenes(list:XML):Array
Game
  
readShapes(list:XMLList):Array
Game
Property Detail
ACTOR_IDproperty
public static var ACTOR_ID:int = 3

actualHeightproperty 
public var actualHeight:Number

actualWidthproperty 
public var actualWidth:Number

collisionGroupsproperty 
public var collisionGroups:Array

controllerproperty 
public var controller:Array

defaultSceneIDproperty 
public var defaultSceneID:Number

DOODAD_IDproperty 
public static var DOODAD_ID:int = 2

engineVersionproperty 
public var engineVersion:Number

gameAttributesproperty 
public var gameAttributes:Array

gameIDproperty 
public var gameID:Number

groupsproperty 
public var groups:Array

heightproperty 
public var height:Number

instanceproperty 
public static var instance:Game

PLAYER_IDproperty 
public static var PLAYER_ID:int = 0

REGION_IDproperty 
public static var REGION_ID:int = -2

scaleproperty 
public var scale:Number

scenesproperty 
public var scenes:Array

shapesproperty 
public var shapes:Array

TERRAIN_IDproperty 
public static var TERRAIN_ID:int = 1

widthproperty 
public var width:Number

Constructor Detail
Game()Constructor
public function Game(xml:XML)



Parameters
xml:XML
Method Detail
get()method
public static function get():Game

Returns
Game
readCollisionGroups()method 
public function readCollisionGroups(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readGameAttributes()method 
public static function readGameAttributes(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readGroups()method 
public function readGroups(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readInput()method 
public function readInput(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readScenes()method 
public function readScenes(list:XML):Array

Parameters

list:XML

Returns
Array
readShapes()method 
public function readShapes(list:XMLList):Array

Parameters

list:XMLList

Returns
Array