Packageorg.ffilmation.engine.events
Classpublic class fCollideEvent
InheritancefCollideEvent Inheritance 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



Public Properties
 PropertyDefined by
  victim : fRenderableElement
The element of the scene we collide against
fCollideEvent
Public Methods
 MethodDefined by
  
fCollideEvent(type:String, bubbles:Boolean, cancelable:Boolean, victim:fRenderableElement)
Constructor for the fMoveEvent class.
fCollideEvent
Property detail
victimproperty
public var victim:fRenderableElement

The element of the scene we collide against

Constructor detail
fCollideEvent()constructor
public function fCollideEvent(type:String, bubbles:Boolean, cancelable:Boolean, victim:fRenderableElement)

Constructor for the fMoveEvent class.

Parameters
type: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