Add Archetype class
This commit is contained in:
parent
f813e9f136
commit
81f997e276
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue