moddable game over i think
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package funkin.backend.scripting.events;
|
||||
|
||||
import funkin.game.Character;
|
||||
|
||||
final class GameOverEvent extends CancellableEvent {
|
||||
/**
|
||||
* Character which died. Default to `boyfriend`.
|
||||
*/
|
||||
public var character:Character;
|
||||
|
||||
/**
|
||||
* Character ID (name) for game over. Default to whatever is specified in the character's XML.
|
||||
*/
|
||||
public var deathCharID:String;
|
||||
|
||||
/**
|
||||
* Song for the game over screen. Default to `this.gameOverSong` (`gameOver`)
|
||||
*/
|
||||
public var gameOverSong:String;
|
||||
|
||||
/**
|
||||
* SFX at the beginning of the game over (Mic drop). Default to `this.lossSFX` (`gameOverSFX`)
|
||||
*/
|
||||
public var lossSFX:String;
|
||||
|
||||
/**
|
||||
* SFX played whenever the player retries. Defaults to `retrySFX` (`gameOverEnd`)
|
||||
*/
|
||||
public var retrySFX:String;
|
||||
}
|
||||
Reference in New Issue
Block a user