diff --git a/HanafudaCard.gd b/HanafudaCard.gd index cfac459..c58893b 100644 --- a/HanafudaCard.gd +++ b/HanafudaCard.gd @@ -14,9 +14,10 @@ func _ready() -> void: $Frontside.texture = load(texture_path) reveal(revealed) -func init_card(month_: int, type_: int) -> void: +func init_card(month_: int, type_: int) -> HanafudaCard: month = month_ type = type_ + return self func card_texture() -> String: var m := ""