Esempio n. 1
0
        private void Construct(IGameStatusObserver gameStatusObserver, IGameMaster gameMaster)
        {
            GameStatusObserver = gameStatusObserver.CheckNull();
            GameMaster         = gameMaster.CheckNull();

            GameMaster.OnCompleteGame += OnCompleteGameHandler;
        }
 public GameStatusObserverDecorator(IGameStatusObserver gameStatusObserver,
                                    IGameView gameView,
                                    IGuiManager guiManager)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     GameView           = gameView.CheckNull();
     GuiManager         = guiManager.CheckNull();
 }
Esempio n. 3
0
 private void Construct(IGameStatusObserver gameStatusObserver)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
 }
Esempio n. 4
0
 private void Construct(IGameStatusObserver gameStatusObserver, IPlayerBallDef playerBallDef)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     PlayerBallDef      = playerBallDef.CheckNull();
 }
Esempio n. 5
0
 public SingleGameInitializable(IGameStatusObserver gameStatusObserver, IGameDef gameDef)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     GameDef            = gameDef.CheckNull();
 }
Esempio n. 6
0
 public PlayerBallFallTracker(IPlayerBallView playerBallView, IGameStatusObserver gameStatusObserver)
 {
     PlayerBallView     = playerBallView.CheckNull();
     GameStatusObserver = gameStatusObserver.CheckNull();
 }