hexland/Scripts/Chit.gd
2022-08-26 09:36:29 -05:00

13 lines
174 B
GDScript

extends Sprite
class_name Chit
const CHIT_SCALE = 0.1
var num = 6
func setup(num):
self.num = num
texture = load("res://Assets/%d-chit.png" % num)
scale *= CHIT_SCALE