| Package | org.flintparticles.twoD.activities |
| Class | public class FollowMouse |
| Inheritance | FollowMouse ActivityBase |
| Property | Defined by | ||
|---|---|---|---|
![]() | priority : int
Returns a default priority of 0 for this activity.
| ActivityBase | |
| renderer : DisplayObject
The display object whose coordinate system the mouse position is converted to.
| FollowMouse | ||
| Method | Defined by | ||
|---|---|---|---|
|
FollowMouse(renderer:DisplayObject = null)
The constructor creates a FollowMouse activity for use by
an emitter.
| FollowMouse | ||
![]() |
addedToEmitter(emitter:Emitter):void
This method does nothing.
| ActivityBase | |
![]() |
initialize(emitter:Emitter):void
This method does nothing.
| ActivityBase | |
![]() |
removedFromEmitter(emitter:Emitter):void
This method does nothing.
| ActivityBase | |
|
This method does nothing.
| FollowMouse | ||
| renderer | property |
renderer:DisplayObject [read-write]The display object whose coordinate system the mouse position is converted to. This is usually the renderer for the particle system created by the emitter.
Implementation public function get renderer():DisplayObject
public function set renderer(value:DisplayObject):void
| FollowMouse | () | constructor |
public function FollowMouse(renderer:DisplayObject = null)The constructor creates a FollowMouse activity for use by an emitter. To add a FollowMouse to an emitter, use the emitter's addActvity method.
Parametersrenderer:DisplayObject (default = null) — The display object whose coordinate system the mouse position is
converted to. This is usually the renderer for the particle system created by the emitter.
|
See also
| update | () | method |
public override function update(emitter:Emitter, time:Number):voidThis method does nothing. Derived classes override this method to alter the state of the emitter every frame.
Parametersemitter:Emitter — The Emitter.
|
|
time:Number — The duration of the frame - used for time based updates.
|