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

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)