コード例 #1
0
ファイル: LevelManager.cs プロジェクト: thexdesk/mist-ridge
 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 CameraRigManager(
     Settings settings,
     CameraView cameraView,
     CameraRigView cameraRigView)
 {
     this.settings      = settings;
     this.cameraView    = cameraView;
     this.cameraRigView = cameraRigView;
 }
コード例 #3
0
        public GameStartState(
            MenuSignal.Trigger menuSignalTrigger,
            InputManager inputManager,
            DisplayManager displayManager,
            CameraView cameraView,
            GameStateMachine stateMachine)
            : base(stateMachine)
        {
            this.menuSignalTrigger = menuSignalTrigger;
            this.inputManager      = inputManager;
            this.displayManager    = displayManager;
            this.cameraView        = cameraView;

            stateType = GameStateType.Start;
        }
コード例 #4
0
 public CameraManager(
     Settings settings,
     Camera camera,
     CameraView cameraView,
     CameraRigView cameraRigView,
     CinematicManager cinematicManager,
     DisplayManager displayManager)
 {
     this.settings         = settings;
     this.camera           = camera;
     this.cameraView       = cameraView;
     this.cameraRigView    = cameraRigView;
     this.cinematicManager = cinematicManager;
     this.displayManager   = displayManager;
 }
コード例 #5
0
 public CameraAnchorManager(
     Settings settings,
     Camera camera,
     CameraView cameraView,
     CameraAnchorView cameraAnchorView,
     CameraOriginView cameraOriginView,
     CinematicManager cinematicManager)
 {
     this.settings         = settings;
     this.camera           = camera;
     this.cameraView       = cameraView;
     this.cameraAnchorView = cameraAnchorView;
     this.cameraOriginView = cameraOriginView;
     this.cinematicManager = cinematicManager;
 }
コード例 #6
0
 public PlaytestManager(
     SpawnView spawnView,
     SpawnManager spawnManager,
     InputManager inputManager,
     PlayerManager playerManager,
     DisplayManager displayManager,
     DeathManager deathManager,
     CameraView cameraView,
     GameStateSignal.Trigger gameStateTrigger)
 {
     this.spawnView        = spawnView;
     this.spawnManager     = spawnManager;
     this.inputManager     = inputManager;
     this.playerManager    = playerManager;
     this.displayManager   = displayManager;
     this.deathManager     = deathManager;
     this.cameraView       = cameraView;
     this.gameStateTrigger = gameStateTrigger;
 }
コード例 #7
0
ファイル: GameReadyState.cs プロジェクト: thexdesk/mist-ridge
        public GameReadyState(
            Settings settings,
            SceneLoader sceneLoader,
            CameraView cameraView,
            InputManager inputManager,
            PlayerManager playerManager,
            DisplayManager displayManager,
            GameManager gameManager,
            GameStateMachine stateMachine)
            : base(stateMachine)
        {
            this.settings       = settings;
            this.sceneLoader    = sceneLoader;
            this.cameraView     = cameraView;
            this.inputManager   = inputManager;
            this.playerManager  = playerManager;
            this.displayManager = displayManager;
            this.gameManager    = gameManager;

            stateType = GameStateType.Ready;
        }