More work on pawn select sounds and controls.
This commit is contained in:
7
scripts/cs_trap_display.gd
Normal file
7
scripts/cs_trap_display.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends TextureRect
|
||||
|
||||
@onready var qty_label : Label = $Label
|
||||
|
||||
func setup(type : Trap.Type, qty : int) -> void:
|
||||
texture = Trap.trap_icons[type]
|
||||
qty_label.text = str(qty)
|
||||
Reference in New Issue
Block a user