Exemplo n.º 1
0
        public GameRoundController(GameViewContext gameViewContext, Data dataConfig)
        {
            _gameViewContext = gameViewContext;
            _dataConfig      = dataConfig;

            BindPlayerControls();
            CreatePlayerControllers();
            CreatePlayerHealthBars();
            CreateGameRoundUIController();

            _gameMath = new GameMath();
        }
Exemplo n.º 2
0
 public GameRoundUIController(GameViewContext gameViewContext, Dictionary <PlayerType, PlayerController> playerControllers)
 {
     _gameViewContext   = gameViewContext;
     _playerControllers = playerControllers;
 }
Exemplo n.º 3
0
 private void CollectGameContext()
 {
     _gameViewContext = GetComponent<GameViewContext>();
 }