PackageBox2DAS.Controllers
Classpublic class b2Controller
Inheritanceb2Controller Inheritance Object



Public Properties
 PropertyDefined By
  allBodies : Boolean = false
b2Controller
  effect : b2Effect
b2Controller
  priority : int = 0
b2Controller
  storage : Dictionary
b2Controller
  world : b2World
b2Controller
Public Methods
 MethodDefined By
  
b2Controller(w:b2World = null, e:b2Effect = null, all:Boolean = false)
b2Controller
  
AddBody(body:b2Body):void
b2Controller
  
destroy():void
b2Controller
  
GetBodies():Array
b2Controller
  
RemoveBody(body:b2Body):void
b2Controller
  
Step(e:StepEvent = null):void
b2Controller
  
toString():String
b2Controller
Property Detail
allBodiesproperty
public var allBodies:Boolean = false

effectproperty 
public var effect:b2Effect

priorityproperty 
public var priority:int = 0

storageproperty 
public var storage:Dictionary

worldproperty 
public var world:b2World

Constructor Detail
b2Controller()Constructor
public function b2Controller(w:b2World = null, e:b2Effect = null, all:Boolean = false)



Parameters
w:b2World (default = null)
 
e:b2Effect (default = null)
 
all:Boolean (default = false)
Method Detail
AddBody()method
public function AddBody(body:b2Body):void

Parameters

body:b2Body

destroy()method 
public function destroy():void

GetBodies()method 
public function GetBodies():Array

Returns
Array
RemoveBody()method 
public function RemoveBody(body:b2Body):void

Parameters

body:b2Body

Step()method 
public function Step(e:StepEvent = null):void

Parameters

e:StepEvent (default = null)

toString()method 
public function toString():String

Returns
String