fixed issue crashing connections and added system logger
This commit is contained in:
@ -9,13 +9,17 @@ class GameManager:
|
||||
__state:str
|
||||
__round:str
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self, logger):
|
||||
self.__players = {}
|
||||
self.__playingPlayer = None
|
||||
self.__state = "waiting"
|
||||
self.__round = "none"
|
||||
self.logger = logger
|
||||
pass
|
||||
|
||||
def getLogger(self):
|
||||
return self.logger
|
||||
|
||||
# game round management
|
||||
# this section manages the flow of rounds this should inherit itself
|
||||
# =============================================================================
|
||||
|
Reference in New Issue
Block a user