| Package | org.ffilmation.engine.events |
| Class | public class fCollideEvent |
| Inheritance | fCollideEvent flash.events.Event |
The fCollideEvent event class stores information about a collision event.
This event is dispatched when a character in the engine collides whith another solid element in the scene
| Property | Defined by | ||
|---|---|---|---|
| victim : fRenderableElement
The element of the scene we collide against
| fCollideEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
fCollideEvent(type:String, victim:fRenderableElement)
Constructor for the fMoveEvent class.
| fCollideEvent | ||
| victim | property |
public var victim:fRenderableElementThe element of the scene we collide against
| fCollideEvent | () | constructor |
public function fCollideEvent(type:String, victim:fRenderableElement)Constructor for the fMoveEvent class.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
|
|
victim:fRenderableElement — The element of the scene we collide against. If Null the event was triggered by an attemp to move a character autside the scene's limits
|