Archived
add first card list
This commit is contained in:
@@ -2,6 +2,12 @@ from enum import Enum
|
||||
from model import Serializable
|
||||
|
||||
|
||||
class CardRole(str, Enum):
|
||||
PERSONAL = "personal"
|
||||
MARKET = "market"
|
||||
FIRE_GEM = "fire_gem"
|
||||
|
||||
|
||||
class CardType(str, Enum):
|
||||
"""Playable card types"""
|
||||
|
||||
@@ -11,11 +17,14 @@ class CardType(str, Enum):
|
||||
WEAPON = "weapon"
|
||||
CHAMPION = "champion"
|
||||
ACTION = "action"
|
||||
ITEM = "item"
|
||||
|
||||
|
||||
class CardFaction(str, Enum):
|
||||
"""Playable card factions"""
|
||||
|
||||
BASE = "base"
|
||||
|
||||
BLUE = "blue"
|
||||
RED = "red"
|
||||
GREEN = "green"
|
||||
@@ -30,6 +39,7 @@ class Card(Serializable):
|
||||
name: str
|
||||
text: str
|
||||
cost: int
|
||||
role: CardRole
|
||||
card_type: CardType
|
||||
faction: CardFaction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user