hanabi instances: support differnt starting players
This commit is contained in:
parent
9f952c231f
commit
2ca79dfc6c
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ class HanabLiveInstance(hanabi.HanabiInstance):
|
|||
|
||||
|
||||
class HanabLiveGameState(hanabi.GameState):
|
||||
def __init__(self, instance: HanabLiveInstance):
|
||||
super().__init__(instance)
|
||||
def __init__(self, instance: HanabLiveInstance, starting_player: int = 0):
|
||||
super().__init__(instance, starting_player)
|
||||
self.instance: HanabLiveInstance = instance
|
||||
|
||||
def make_action(self, action):
|
||||
|
|
Loading…
Reference in a new issue