Пример #1
0
 public PlayingState(PlayerController player, List <Ship> ships, List <GameObject> cursors, ObstaclePool obstaclePool, PropsPool propsPool, AudioSource music, UI.AbstractPresenter hudPresenter)
 {
     this.player       = player;
     this.ships        = ships;
     this.cursors      = cursors;
     this.music        = music;
     this.obstaclePool = obstaclePool;
     this.propsPool    = propsPool;
     this.hudPresenter = hudPresenter;
 }
Пример #2
0
 public GameOverLoseState(UI.AbstractPresenter losePresenter, AudioSource music)
 {
     this.losePresenter = losePresenter;
     this.music         = music;
 }
Пример #3
0
 public PauseState(UI.AbstractPresenter pausePresenter)
 {
     this.pausePresenter = pausePresenter;
 }
Пример #4
0
 public OptionsState(PlayerController player, List <Ship> ships, UI.AbstractPresenter optionsPresenter)
 {
     this.player           = player;
     this.ships            = ships;
     this.optionsPresenter = optionsPresenter;
 }
Пример #5
0
 public GameOverWinState(UI.AbstractPresenter winPresenter, AudioSource music)
 {
     this.winPresenter = winPresenter;
     this.music        = music;
 }
Пример #6
0
 public CreditsState(PlayerController player, List <Ship> ships, UI.AbstractPresenter creditsPresenter)
 {
     this.player           = player;
     this.ships            = ships;
     this.creditsPresenter = creditsPresenter;
 }
Пример #7
0
 public GameOverCrashState(UI.AbstractPresenter crashPresenter, AudioSource music)
 {
     this.crashPresenter = crashPresenter;
     this.music          = music;
 }