spaceship/CrafterBuildingVisual.gd

14 lines
303 B
GDScript3
Raw Normal View History

extends "res://BuildingVisualBase.gd"
func _ready() -> void:
for part in SHIP_PARTS:
_hull_parts.append(PackedVector2Array(part.points))
_build_crafter_pieces()
queue_redraw()
func apply_animation() -> void:
_animate_crafter()
func _draw() -> void:
register_draw()
_draw_crafter_static(self)