Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public CameraRigManager(
     Settings settings,
     CameraView cameraView,
     CameraRigView cameraRigView)
 {
     this.settings      = settings;
     this.cameraView    = cameraView;
     this.cameraRigView = cameraRigView;
 }
Exemplo n.º 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;
        }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
 }
Exemplo n.º 7
0
        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;
        }