Packagestencyl.api.engine.scene
Classpublic class Scene
InheritanceScene Inheritance Object



Public Properties
 PropertyDefined By
  actors : Array
Scene
  behaviorValues : Array
Scene
  bgs : Array
Scene
  colorBackground : Background
Scene
  fgs : Array
Scene
  gravityX : Number
Scene
  gravityY : Number
Scene
  ID : Number
Scene
  joints : Array
Scene
  name : String
Scene
  regions : Array
Scene
  sceneHeight : uint
Scene
  sceneWidth : uint
Scene
  terrain : Array
Scene
  terrainRegions : Array
Scene
  tileHeight : uint
Scene
  tileWidth : uint
Scene
  wireframes : Array
Scene
Public Methods
 MethodDefined By
  
Scene(ID:Number, name:String, xml:XML)
Scene
  
getID():int
Scene
  
Scene
  
readActors(list:XMLList):Array
Scene
  
readBackgrounds(list:XMLList):Array
Scene
  
Scene
  
readJoints(list:XMLList):Array
Scene
  
readLayers(list:XMLList, rawLayers:Array):Array
Scene
  
readRawLayer(bytes:ByteArray, length:Number):TileLayer
Scene
  
readRawLayers(bytes:ByteArray, numLayers:Number):Array
Scene
  
Scene
  
readRegions(list:XMLList):Array
Scene
  
Scene
  
readTerrainRegions(list:XMLList):Array
Scene
  
readWireframes(list:XMLList):Array
Scene
Property Detail
actorsproperty
public var actors:Array

behaviorValuesproperty 
public var behaviorValues:Array

bgsproperty 
public var bgs:Array

colorBackgroundproperty 
public var colorBackground:Background

fgsproperty 
public var fgs:Array

gravityXproperty 
public var gravityX:Number

gravityYproperty 
public var gravityY:Number

IDproperty 
public var ID:Number

jointsproperty 
public var joints:Array

nameproperty 
public var name:String

regionsproperty 
public var regions:Array

sceneHeightproperty 
public var sceneHeight:uint

sceneWidthproperty 
public var sceneWidth:uint

terrainproperty 
public var terrain:Array

terrainRegionsproperty 
public var terrainRegions:Array

tileHeightproperty 
public var tileHeight:uint

tileWidthproperty 
public var tileWidth:uint

wireframesproperty 
public var wireframes:Array

Constructor Detail
Scene()Constructor
public function Scene(ID:Number, name:String, xml:XML)



Parameters
ID:Number
 
name:String
 
xml:XML
Method Detail
getID()method
public function getID():int

Returns
int
readActorInstance()method 
public function readActorInstance(xml:XML):ActorInstance

Parameters

xml:XML

Returns
ActorInstance
readActors()method 
public function readActors(list:XMLList):Array

Parameters

list:XMLList

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

Parameters

list:XMLList

Returns
Array
readJoint()method 
public function readJoint(e:XML):b2JointDef

Parameters

e:XML

Returns
b2JointDef
readJoints()method 
public function readJoints(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readLayers()method 
public function readLayers(list:XMLList, rawLayers:Array):Array

Parameters

list:XMLList
 
rawLayers:Array

Returns
Array
readRawLayer()method 
public function readRawLayer(bytes:ByteArray, length:Number):TileLayer

Parameters

bytes:ByteArray
 
length:Number

Returns
TileLayer
readRawLayers()method 
public function readRawLayers(bytes:ByteArray, numLayers:Number):Array

Parameters

bytes:ByteArray
 
numLayers:Number

Returns
Array
readRegion()method 
public function readRegion(e:XML):RegionDef

Parameters

e:XML

Returns
RegionDef
readRegions()method 
public function readRegions(list:XMLList):Array

Parameters

list:XMLList

Returns
Array
readTerrainRegion()method 
public function readTerrainRegion(e:XML):TerrainRegionDef

Parameters

e:XML

Returns
TerrainRegionDef
readTerrainRegions()method 
public function readTerrainRegions(list:XMLList):Array

Parameters

list:XMLList

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

Parameters

list:XMLList

Returns
Array