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