| Package | org.ffilmation.engine.events |
| Class | public class fWalkoverEvent |
| Inheritance | fWalkoverEvent flash.events.Event |
The fWalkoverEvent event class stores information about a Walkover event.
This event is dispatched when a character in the engine walks over a non-solid object in the scene. This is useful to collect items, for example.
| Property | Defined by | ||
|---|---|---|---|
| victim : fRenderableElement
The element of the scene we walk over
| fWalkoverEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
fWalkoverEvent(type:String, victim:fRenderableElement)
Constructor for the fWalkoverEvent class.
| fWalkoverEvent | ||
| victim | property |
public var victim:fRenderableElementThe element of the scene we walk over
| fWalkoverEvent | () | constructor |
public function fWalkoverEvent(type:String, victim:fRenderableElement)Constructor for the fWalkoverEvent 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
|