def placeCycle(self, player, playerNumber):#Places a networking cycle newcycle = cycle.newCycle(self.window, self.board.board, self.rows, self.cols, player["startPos"][0], player["startPos"][1], player["color"], player["startDir"][0], player["startDir"][1], playerNumber, type = player["type"], connection = self.connection) return newcycle
def placeCycle(self, player, playerNumber): #Create a cycle based on a passed dictionary newcycle = cycle.newCycle(self.window, self.board.board, self.rows, self.cols, player["startPos"][0], player["startPos"][1], player["color"], player["startDir"][0], player["startDir"][1], playerNumber, type = player["type"]) return newcycle