Пример #1
0
 public LevelManager(
     Settings settings,
     GameStateSignal.Trigger gameStateTrigger,
     GameStateMachine gameStateMachine,
     SpawnManager spawnManager,
     ChunkManager chunkManager,
     InputManager inputManager,
     PlayerManager playerManager,
     DeathManager deathManager,
     RankManager rankManager,
     MistManager mistManager,
     CameraView cameraView,
     CameraManager cameraManager,
     CameraAnchorManager cameraAnchorManager,
     AetherManager aetherManager)
 {
     this.settings            = settings;
     this.gameStateTrigger    = gameStateTrigger;
     this.gameStateMachine    = gameStateMachine;
     this.spawnManager        = spawnManager;
     this.chunkManager        = chunkManager;
     this.inputManager        = inputManager;
     this.playerManager       = playerManager;
     this.deathManager        = deathManager;
     this.rankManager         = rankManager;
     this.mistManager         = mistManager;
     this.cameraView          = cameraView;
     this.cameraManager       = cameraManager;
     this.cameraAnchorManager = cameraAnchorManager;
     this.aetherManager       = aetherManager;
 }
Пример #2
0
 public CheckpointManager(
     SpawnManager spawnManager,
     MistManager mistManager,
     SprintManager sprintManager,
     CheckpointSignal checkpointSignal,
     CheckpointActionSignal checkpointActionSignal,
     GameStateSignal.Trigger gameStateTrigger)
 {
     this.spawnManager           = spawnManager;
     this.mistManager            = mistManager;
     this.sprintManager          = sprintManager;
     this.checkpointSignal       = checkpointSignal;
     this.checkpointActionSignal = checkpointActionSignal;
     this.gameStateTrigger       = gameStateTrigger;
 }
Пример #3
0
        public GameEndState(
            Settings settings,
            Generator generator,
            SceneLoadSignal sceneLoadSignal,
            SceneLoader sceneLoader,
            InputManager inputManager,
            AetherManager aetherManager,
            PlayerManager playerManager,
            DialogueManager dialogueManager,
            DeathManager deathManager,
            CameraManager cameraManager,
            CameraAnchorManager cameraAnchorManager,
            CameraRigManager cameraRigManager,
            CinematicManager cinematicManager,
            DisplayManager displayManager,
            MistManager mistManager,
            RankManager rankManager,
            SpawnManager spawnManager,
            PoolManager poolManager,
            GameStateMachine stateMachine)
            : base(stateMachine)
        {
            this.settings            = settings;
            this.generator           = generator;
            this.sceneLoadSignal     = sceneLoadSignal;
            this.sceneLoader         = sceneLoader;
            this.inputManager        = inputManager;
            this.aetherManager       = aetherManager;
            this.playerManager       = playerManager;
            this.dialogueManager     = dialogueManager;
            this.deathManager        = deathManager;
            this.cameraManager       = cameraManager;
            this.cameraAnchorManager = cameraAnchorManager;
            this.cameraRigManager    = cameraRigManager;
            this.cinematicManager    = cinematicManager;
            this.displayManager      = displayManager;
            this.mistManager         = mistManager;
            this.rankManager         = rankManager;
            this.spawnManager        = spawnManager;
            this.poolManager         = poolManager;

            stateType = GameStateType.End;
        }