Esempio n. 1
0
        internal BombardmentController(BombardBattleGame battleGame, MainGame mainGame, GameController gameController)
        {
            this.playerListeners = new Dictionary <Player, IBombardEventListener>();

            this.battleGame     = battleGame;
            this.mainGame       = mainGame;
            this.gameController = gameController;

            this.Star      = new StarInfo(mainGame.States.Stars.At[battleGame.Location]);
            this.processor = new BombardmentProcessor(battleGame, mainGame);
        }
Esempio n. 2
0
 public BombardmentProcessor(BombardBattleGame battleGame, MainGame mainGame) : base(mainGame)
 {
     this.game = battleGame;
     this.makePlayerOrder();
 }