예제 #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
 public LoadLevelState(GameStateMachine gameStateMachine, SceneLoader sceneLoader, ILevelFactory levelFactory)
 {
     this.gameStateMachine = gameStateMachine;
     this.sceneLoader      = sceneLoader;
     this.levelFactory     = levelFactory;
 }