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

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

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