aboutsummaryrefslogtreecommitdiff
path: root/game/src/Game/Autoload/Events/GameDebug.gd
blob: 20b6a67177bf5c03ecb59f3831518ab41e0a757f (plain) (blame)
1
2
3
4
5
6
7
8
extends RefCounted

func set_debug_mode(value : bool) -> void:
   ArgumentParser.set_argument(&"game-debug", value)
   print("Set debug mode to: ", value)

func is_debug_mode() -> bool:
   return ArgumentParser.get_argument(&"game-debug", false)