Package | com.fileitup.fisixengine.containers |
Class | public class WheelContainer |
Inheritance | WheelContainer ![]() |
Property | Defined by | ||
---|---|---|---|
object : WheelParticle | WheelContainer |
Method | Defined by | ||
---|---|---|---|
WheelContainer(x:Number, y:Number, radius:Number, innerDyn:Boolean = true)
Similar to the constructor of a WheelParticle, but creates a container.
| WheelContainer | ||
![]() |
dispose():void
Cleans the object so that it may be picked up by the garbage collector.
| FisixContainer | |
![]() |
integrate(dt:Number = 1):void
Integrates all the objects within the container.
| FisixContainer | |
![]() |
render(g:Graphics):void
Renders all the objects within the container to the given Graphics object
| FisixContainer | |
solveContainment(noDynamics:Boolean = false):void
Solves collisions between the inner objects and the container.
| WheelContainer | ||
![]() |
unload():void
Removes the container from the FisixObject it belongs to, and disposes of it.
| FisixContainer |
object | property |
protected var object:WheelParticle
WheelContainer | () | constructor |
public function WheelContainer(x:Number, y:Number, radius:Number, innerDyn:Boolean = true)
Similar to the constructor of a WheelParticle, but creates a container.
Parametersx:Number — Global x position of the Particle.
|
|
y:Number — Global y position of the Particle.
|
|
radius:Number — radius of the Particle.
|
|
innerDyn:Boolean (default = true ) — When set to true, the objects within the container will affect its movement.
|
solveContainment | () | method |
public override function solveContainment(noDynamics:Boolean = false):void
Solves collisions between the inner objects and the container. This method is called by the engine at the appropriate time, and should not be called manually.
ParametersnoDynamics:Boolean (default = false )
|