Example #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();
 }
Example #3
0
 private void Construct(IGameStatusObserver gameStatusObserver)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
 }
Example #4
0
 private void Construct(IGameStatusObserver gameStatusObserver, IPlayerBallDef playerBallDef)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     PlayerBallDef      = playerBallDef.CheckNull();
 }
 public SingleGameInitializable(IGameStatusObserver gameStatusObserver, IGameDef gameDef)
 {
     GameStatusObserver = gameStatusObserver.CheckNull();
     GameDef            = gameDef.CheckNull();
 }
 public PlayerBallFallTracker(IPlayerBallView playerBallView, IGameStatusObserver gameStatusObserver)
 {
     PlayerBallView     = playerBallView.CheckNull();
     GameStatusObserver = gameStatusObserver.CheckNull();
 }