13 lines
263 B
GDScript
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]})
|