TowerGameProto/scripts/watchtower.gd

10 lines
211 B
GDScript

extends Building
func place() -> void:
super()
$DetectionArea.active_state = DetectionArea.ActiveState.PREVIEW
func build() -> void:
super()
$DetectionArea.active_state = DetectionArea.ActiveState.ACTIVE