public GameRoundController(GameViewContext gameViewContext, Data dataConfig) { _gameViewContext = gameViewContext; _dataConfig = dataConfig; BindPlayerControls(); CreatePlayerControllers(); CreatePlayerHealthBars(); CreateGameRoundUIController(); _gameMath = new GameMath(); }
public GameRoundUIController(GameViewContext gameViewContext, Dictionary <PlayerType, PlayerController> playerControllers) { _gameViewContext = gameViewContext; _playerControllers = playerControllers; }
private void CollectGameContext() { _gameViewContext = GetComponent<GameViewContext>(); }