hanafuda/CardValue.gd
2022-01-25 00:13:13 +01:00

13 lines
263 B
GDScript

class_name CardValue
extends Node
var month: int
var type: int
func _init(month: int, type: int):
self.month = month
self.type = type
func desc() -> String:
return "CardValue({m}, {t})".format({"m": Enums.Month.keys()[month], "t": Enums.Type.keys()[type]})