예제 #1
0
 void Apply(GameSetupStarted e)
 {
     Id = e.GameSetupId;
     _gameId = e.GameId;
     _players = new Players(e.Players, e.NumberOfStartingInfantryUnits);
     _currentPlayerId = e.StartingPlayerId;
     _board = e.Board;
 }
예제 #2
0
 void Apply(GameSetupStarted e)
 {
     Id               = e.GameSetupId;
     _gameId          = e.GameId;
     _players         = new Players(e.Players, e.NumberOfStartingInfantryUnits);
     _currentPlayerId = e.StartingPlayerId;
     _board           = e.Board;
 }