Ejemplo n.º 1
0
 public MarioStartLevelState(SuperPixelBrosGame game, ArrayList controllerList, ICamera camera) : base(game, controllerList, camera)
 {
     MediaPlayer.Stop();
     SuperPixelBrosGame.ResetLevel();
     if (ScoreKeeper.Instance.Lives == -1)
     {
         SoundFactory.Instance.PlaySoundEffect("SOUND_GAMEOVER");
         loadTimeOut = 250;
     }
     else
     {
         loadTimeOut = 120;
     }
 }