コード例 #1
0
 public LoadLevelState(GameStateMachine gameStateMachine, SceneLoader sceneLoader, LogicCurtain curtain, IGameFactory gameFactory)
 {
     _gameStateMachine = gameStateMachine;
     _sceneLoader      = sceneLoader;
     _curtain          = curtain;
     _gameFactory      = gameFactory;
 }
コード例 #2
0
 public BootstrapState(GameStateMachine gameStateMachine, SceneLoader sceneLoader, AllServices services)
 {
     _gameStateMachine = gameStateMachine;
     _sceneLoader      = sceneLoader;
     _services         = services;
     RegisterServices();
 }
コード例 #3
0
        public BootstrapState(GameStateMachine stateMachine, SceneLoader sceneLoader, AllServices services, ICoroutineRunner coroutineRunner)
        {
            _stateMachine = stateMachine;
            _sceneLoader  = sceneLoader;
            _services     = services;

            _coroutineRunner = coroutineRunner;

            RegisterServices();
        }
コード例 #4
0
ファイル: LoadLevelState.cs プロジェクト: Scvirel/Herdsman
 public LoadLevelState(GameStateMachine gameStateMachine, SceneLoader sceneLoader, ILevelFactory levelFactory)
 {
     this.gameStateMachine = gameStateMachine;
     this.sceneLoader      = sceneLoader;
     this.levelFactory     = levelFactory;
 }