Package | com.fileitup.fisixengine.containers |
Class | public class CircleContainer |
Inheritance | CircleContainer ![]() |
Property | Defined by | ||
---|---|---|---|
object : CircleParticle | CircleContainer |
Method | Defined by | ||
---|---|---|---|
CircleContainer(x:Number, y:Number, radius:Number, innerDyn:Boolean = true)
Similar to the constructor of a CircleParticle, but creates a container
| CircleContainer | ||
![]() |
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.
| CircleContainer | ||
![]() |
unload():void
Removes the container from the FisixObject it belongs to, and disposes of it.
| FisixContainer |
object | property |
protected var object:CircleParticle
CircleContainer | () | constructor |
public function CircleContainer(x:Number, y:Number, radius:Number, innerDyn:Boolean = true)
Similar to the constructor of a CircleParticle, but creates a container
Parametersx:Number — Global x position of the CircleParticle.
|
|
y:Number — Global y position of the CircleParticle.
|
|
radius:Number — radius of the CircleParticle.
|
|
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 )
|