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

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

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