示例#1
0
        public BootstrapState(GameStateMachine stateMachine, SceneLoader sceneLoader, ServiceLocator services)
        {
            _stateMachine = stateMachine;
            _sceneLoader  = sceneLoader;

            _services = services;
            RegisterServices();
        }
示例#2
0
 public LoadLevelState(GameStateMachine stateMachine, SceneLoader sceneLoader, IGameFactory gameFactory)
 {
     _stateMachine = stateMachine;
     _sceneLoader  = sceneLoader;
     _gameFactory  = gameFactory;
 }