public void StartGame(List <JUMPPlayer> Players) { GameState = new WordsWarGameState(); GameState.Stage = WordsWarGameStages.SendBoardID; GameState.BoardID = BoardManager.GetNewBoard().BoardID; foreach (var pl in Players) { WordsWarPlayer player = new WordsWarPlayer(); player.PlayerID = pl.PlayerID; player.IsConnected = pl.IsConnected; GameState.Players.Add(player.PlayerID, player); } }
public WordsWarServerEngine() { GameState = new WordsWarGameState(); }