Add Archetype class

This commit is contained in:
The Magician 2024-03-25 18:36:58 +00:00
parent f813e9f136
commit 81f997e276
1 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/python3 #!/usr/bin/python3
from enum import Enum from enum import Enum
from dataclasses import dataclass
class Format(Enum): class Format(Enum):
STANDARD = "standard" STANDARD = "standard"
@ -23,3 +24,12 @@ class Color(Enum):
BLACK = 2 BLACK = 2
RED = 3 RED = 3
GREEN = 4 GREEN = 4
@dataclass(frozen=True)
class Archetype():
name: str
colors: list[Color]
featuredCardNames: list[str]
metagamePercentage: int
numberOfDecks: int
tabletopCost: int