Package | org.rapidphysics |
Class | public class RapidWorld |
Inheritance | RapidWorld ![]() ![]() ![]() |
Subclasses | SuperPong, TestCircles, TestLineCircle, TestMovingPoint, TestMovingPointWithCircles, TestWorld, TitleScreen |
Property | Defined By | ||
---|---|---|---|
![]() | active : Boolean | RapidBasic | |
![]() | exists : Boolean | RapidBasic | |
flashSprite : Sprite
Convenient access point to the Flash Display List
| RapidWorld | ||
![]() | visible : Boolean | RapidBasic |
Property | Defined By | ||
---|---|---|---|
host : RapidSim | RapidWorld | ||
islandManager : IslandManager
Add your Islands to this manager!
| RapidWorld | ||
![]() | members : Vector.<RapidBasic> | RapidGroup | |
![]() | membersDict : Dictionary | RapidGroup |
Method | Defined By | ||
---|---|---|---|
RapidWorld | |||
add(basic:RapidBasic):void [override]
Add objects to the world (very important!)
| RapidWorld | ||
create():void
Override this function with your initilization code
| RapidWorld | ||
![]() | debugDraw():void [override] | RapidGroup | |
![]() | destroy():void [override] | RapidGroup | |
![]() | draw():void [override] | RapidGroup | |
postUpdate():void [override] | RapidWorld | ||
![]() | preDraw():void [override] | RapidGroup | |
preUpdate():void [override] | RapidWorld | ||
![]() | RapidGroup | ||
setBackgroundColor(color:uint, alpha:Number = 1.0):void | RapidWorld | ||
RapidWorld | |||
![]() | update():void [override] | RapidGroup |
flashSprite | property |
public var flashSprite:Sprite
Convenient access point to the Flash Display List
host | property |
protected var host:RapidSim
islandManager | property |
protected var islandManager:IslandManager
Add your Islands to this manager!
RapidWorld | () | Constructor |
public function RapidWorld()
add | () | method |
override public function add(basic:RapidBasic):void
Add objects to the world (very important!)
Parameters
basic:RapidBasic |
create | () | method |
public function create():void
Override this function with your initilization code
postUpdate | () | method |
override public function postUpdate():void
preUpdate | () | method |
override public function preUpdate():void
setBackgroundColor | () | method |
public function setBackgroundColor(color:uint, alpha:Number = 1.0):void
Parameters
color:uint | |
alpha:Number (default = 1.0 )
|
setHost | () | method |