Пример #1
0
 public CongratsState(Ending ending, SoundEffect effect, SpriteFont openingText)
 {
     this.ending = ending;
     this.ending.nextState = false;
     this.effect = effect;
     SetUpInput();
     this.openingTxt = openingText;
 }
Пример #2
0
 public EndingStateOver(Ending ending, SoundEffect effect, SpriteFont openingText)
 {
     this.ending = ending;
     ending.nextState = false;
     this.effect = effect;
     this.openingTxt = openingText;
 }