display
This commit is contained in:
@@ -37,7 +37,7 @@ class GameFactory:
|
|||||||
|
|
||||||
def createPlayers(self):
|
def createPlayers(self):
|
||||||
players = []
|
players = []
|
||||||
for id in range(1, self.playerCount):
|
for id in range(1, self.playerCount + 1):
|
||||||
display = self.displayFactory.createPlayerDisplay(id)
|
display = self.displayFactory.createPlayerDisplay(id)
|
||||||
player = self.playerStateFactory.createPlayerState(display, id)
|
player = self.playerStateFactory.createPlayerState(display, id)
|
||||||
players.append(player)
|
players.append(player)
|
||||||
|
|||||||
Reference in New Issue
Block a user