Add BuildModeController that deletes loose items on enter BuildMode

This commit is contained in:
JonShard
2026-08-02 13:43:30 +02:00
parent 71c338da3c
commit b24a3f99ee
6 changed files with 46 additions and 4 deletions
+1 -3
View File
@@ -17,6 +17,7 @@ static func _set_game_state(value: GameState):
game_state = value
Signals.game_state_changed.emit(value)
static func _restart():
print("restart Game")
game_state = GameState.RUNNING
@@ -45,6 +46,3 @@ static func game_over():
print("Game Over")
game_state = GameState.GAME_OVER
Signals.game_over.emit()