Files
gymkhana-actions/docs/api/GameOverCommand.md
Dennis Ploeger 58d880101d Optimized Docs (#7)
Authored-by: Dennis Ploeger <develop@dieploegers.de>
2021-06-22 23:06:20 +02:00

750 B

GameOverCommand

Extends: ESCBaseCommand < Node

Description

game_over continue_enabled show_credits

Ends the game. Use the "continue_enabled" parameter to enable or disable the continue button in the main menu afterwards. The "show_credits" parameter loads the ui/end_credits scene if true. You can configure it to your regular credits scene if you want.

@STUB @ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

run

func run(command_params: Array) -> int

Run the command