13 lines
357 B
GDScript3
13 lines
357 B
GDScript3
|
|
extends "res://buildings/BuildingVisualBase.gd"
|
||
|
|
|
||
|
|
# Drawn once, like the command centre and the outpost: a board of numbers
|
||
|
|
# does not animate, and per-frame redraws of art that never changes were a
|
||
|
|
# real framerate cost earlier on.
|
||
|
|
|
||
|
|
func _ready() -> void:
|
||
|
|
set_process(false)
|
||
|
|
queue_redraw()
|
||
|
|
|
||
|
|
func _draw() -> void:
|
||
|
|
register_draw()
|
||
|
|
_draw_planning_center()
|