clockwork-city/game.gd
duncgibbs 99de9e8b40
Some checks failed
linting & formatting / build (push) Failing after 5s
itch.io publish action / build (linux64, x86_64) (push) Failing after 34s
itch.io publish action / build (osx, app) (push) Failing after 30s
itch.io publish action / build (win64, exe) (push) Failing after 31s
initial commit
2026-04-13 11:34:00 -05:00

17 lines
404 B
GDScript

class_name Game extends Node
@onready var game_container: Node2D = %Game
@onready var board: Board = %Board
func _ready() -> void:
get_tree().paused = true
func handle_tile_selected(tile: Tile):
board.set_active_tile(tile)
func handle_building_selected(building: Building) -> void:
board.set_active_building(building)
func place_walls() -> void:
board.is_placing_walls = !board.is_placing_walls