add/edit/delet objectives and participants in war
This commit is contained in:
parent
e33dec40be
commit
495a5adb98
14 changed files with 1088 additions and 322 deletions
|
|
@ -2,16 +2,16 @@ from uuid import uuid4
|
|||
|
||||
class Round:
|
||||
def __init__(self):
|
||||
self.id = str(uuid4())
|
||||
self.id: str = str(uuid4())
|
||||
self.sectors = {}
|
||||
self.choices = {}
|
||||
self.battles = {}
|
||||
self.is_over = False
|
||||
self.is_over: bool = False
|
||||
|
||||
def set_id(self, new_id):
|
||||
def set_id(self, new_id: str):
|
||||
self.id = new_id
|
||||
|
||||
def set_state(self, new_state):
|
||||
def set_state(self, new_state: bool):
|
||||
self.is_over = new_state
|
||||
|
||||
def toDict(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue