extends Button class_name ConstructionButton var prototype : Prototype: set(value): prototype = value icon = prototype.preview get: return prototype func _pressed() -> void: GuiEventBus.construction_selected.emit(prototype)