clockwork-city/prefabs/ui/player_action_light.gd
duncgibbs 14e2073322
All checks were successful
linting & formatting / build (push) Successful in 25s
itch.io publish action / build (web, html) (push) Successful in 3m51s
mostly implements networked board state; but also adds voting and a few buildings
2026-04-24 12:19:34 -05:00

16 lines
264 B
GDScript

class_name PlayerActionLight extends Panel
var style_box: StyleBoxFlat
func _ready() -> void:
style_box = get_theme_stylebox("panel")
func reset() -> void:
style_box.bg_color = Color(0, 0, 1, 1)
func use() -> void:
style_box.bg_color = Color(1, 0, 0, 1)