Constructor
Variables
deathCharID:String
Character ID (name) for game over. Default to whatever is specified in the character's XML.
Methods
View in GitHub
recycle(x:Float, y:Float, character:Character, deathCharID:String, isPlayer:Bool, gameOverSong:String, lossSFX:String, retrySFX:String):GameOverEvent
Inherited Variables
Defined by CancellableEvent
Inherited Methods
Defined by CancellableEvent
View in GitHub
preventDefault(c:Bool = false):Void
Prevents default action from occurring.
Parameters:
c | Whenever the scripts following this one should be called or not. (Defaults to |
---|
View in GitHub
toString():String
Returns a string representation of the event, in this format:
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String