public List <Piece> SpawnPieces(GameType game, List <Player> players) { int actualPlayerIndex = 0; foreach (List <PiecePosition> piecePositions in game.startingPos.startingPos) { Player actualPlayer = players[actualPlayerIndex++]; foreach (PiecePosition piecePos in piecePositions) { Piece piece = SpawnPiece(piecePos, actualPlayer, game.GetMovesFor(piecePos.ModelEnum)); pieces.Add(piece); } } return(pieces); }