new features, play menu, deck builder, deck selection
This commit is contained in:
@@ -121,6 +121,15 @@ static func card_type_to_string(t: CardType) -> String:
|
||||
CardType.MONSTER: return "Monster"
|
||||
return "Unknown"
|
||||
|
||||
## Helper functions for AbilityType
|
||||
static func ability_type_to_string(t: AbilityType) -> String:
|
||||
match t:
|
||||
AbilityType.FIELD: return "FIELD"
|
||||
AbilityType.AUTO: return "AUTO"
|
||||
AbilityType.ACTION: return "ACTION"
|
||||
AbilityType.SPECIAL: return "SPECIAL"
|
||||
return "Unknown"
|
||||
|
||||
## Helper functions for TurnPhase
|
||||
static func phase_to_string(p: TurnPhase) -> String:
|
||||
match p:
|
||||
|
||||
Reference in New Issue
Block a user