| Package | org.ffilmation.engine.events |
| Class | public class fMoveEvent |
| Inheritance | fMoveEvent flash.events.Event |
The fMoveEvent event class stores information about a move event.
This event is dispatched whenever an element in the engine changes position. This allows the engine to track objects and rerender the scene, as well as programming reactions such as one element following another
| Property | Defined by | ||
|---|---|---|---|
| dx : Number
The increment of the x coordinate that corresponds to this movement.
| fMoveEvent | ||
| dy : Number
The increment of the y coordinate that corresponds to this movement.
| fMoveEvent | ||
| dz : Number
The increment of the z coordinate that corresponds to this movement.
| fMoveEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
fMoveEvent(type:String, dx:Number, dy:Number, dz:Number)
Constructor for the fMoveEvent class.
| fMoveEvent | ||
| dx | property |
public var dx:NumberThe increment of the x coordinate that corresponds to this movement. Equals new position - last position
| dy | property |
public var dy:NumberThe increment of the y coordinate that corresponds to this movement. Equals new position - last position
| dz | property |
public var dz:NumberThe increment of the z coordinate that corresponds to this movement. Equals new position - last position
| fMoveEvent | () | constructor |
public function fMoveEvent(type:String, dx:Number, dy:Number, dz:Number)Constructor for the fMoveEvent class.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
|
|
dx:Number — The increment of the x coordinate that corresponds to this movement
|
|
dy:Number — The increment of the y coordinate that corresponds to this movement
|
|
dz:Number — The increment of the z coordinate that corresponds to this movement
|