Esempio n. 1
0
        public void Initialize()
        {
            spawnManager.CurrentSpawnView = spawnView;
            gameStateTrigger.Fire(GameStateType.Play);

            cameraView.IsActive = true;

            foreach (Input input in inputManager.Inputs)
            {
                PlayerFacade playerFacade = playerManager.SpawnPlayer(input, CharacterType.Jack);

                deathManager.AddPlayer(input);
                displayManager.Display(input.DeviceNum, playerFacade.CharacterType);
            }

            updated = false;
            timer   = Time.time;
        }
Esempio n. 2
0
 public void FinishGame()
 {
     sprintManager.SetSprintNum(0);
     gameStateTrigger.Fire(GameStateType.End);
 }
Esempio n. 3
0
 public void Initialize()
 {
     gameStateTrigger.Fire(GameStateType.Ready);
 }