| 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, bubbles:Boolean, cancelable:Boolean, 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, bubbles:Boolean, cancelable:Boolean, 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.
|
|
bubbles:Boolean — Determines whether the Event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inherited bubbles property.
|
|
cancelable:Boolean — Determines whether the Event object can be canceled. Event listeners can access this information through the inherited cancelable property.
|
|
victim:fRenderableElement — The element of the scene we collide against
|