feat: Implement core playerboard management including item grabbing, power-up handling, goal completion, and grid refilling, alongside new Tekton entity and various game managers.
This commit is contained in:
@@ -46,6 +46,12 @@ var selected_area: String = "Desert" # Host-controlled
|
||||
var game_mode: String = "Freemode" # Host-controlled
|
||||
var local_character_index: int = 0 # Local player's character index
|
||||
|
||||
func get_game_mode() -> GameMode.Mode:
|
||||
return GameMode.from_string(game_mode)
|
||||
|
||||
func is_game_mode(mode: GameMode.Mode) -> bool:
|
||||
return get_game_mode() == mode
|
||||
|
||||
# Signals
|
||||
signal game_mode_changed(mode: String)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user