Beispiel #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;
 }
Beispiel #2
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;
        }