Beispiel #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;
 }
Beispiel #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;
 }