コード例 #1
0
        public GameRoundController(GameViewContext gameViewContext, Data dataConfig)
        {
            _gameViewContext = gameViewContext;
            _dataConfig      = dataConfig;

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

            _gameMath = new GameMath();
        }
コード例 #2
0
 public GameRoundUIController(GameViewContext gameViewContext, Dictionary <PlayerType, PlayerController> playerControllers)
 {
     _gameViewContext   = gameViewContext;
     _playerControllers = playerControllers;
 }
コード例 #3
0
ファイル: GameApplication.cs プロジェクト: RRVUnit/GG_Test
 private void CollectGameContext()
 {
     _gameViewContext = GetComponent<GameViewContext>();
 }