Placement and platforms
This commit is contained in:
parent
a2164dca72
commit
d37c4ec858
31 changed files with 351 additions and 11 deletions
9
scripts/gui/construction_button.gd
Normal file
9
scripts/gui/construction_button.gd
Normal file
|
@ -0,0 +1,9 @@
|
|||
extends Button
|
||||
|
||||
@export var constructible : Constructible
|
||||
|
||||
func _ready() -> void:
|
||||
icon = constructible.preview
|
||||
|
||||
func _pressed() -> void:
|
||||
GuiEventBus.construction_selected.emit(constructible)
|
Loading…
Add table
Add a link
Reference in a new issue