Search in sources :

Example 11 with Level

use of com.shatteredpixel.shatteredpixeldungeon.levels.Level in project shattered-pixel-dungeon-gdx by 00-Evan.

the class InterlevelScene method reset.

private void reset() throws IOException {
    Actor.fixTime();
    DriedRose.holdGhostHero(Dungeon.level);
    SpecialRoom.resetPitRoom(Dungeon.depth + 1);
    Dungeon.depth--;
    Level level = Dungeon.newLevel();
    Dungeon.switchLevel(level, level.entrance);
}
Also used : Level(com.shatteredpixel.shatteredpixeldungeon.levels.Level)

Aggregations

Level (com.shatteredpixel.shatteredpixeldungeon.levels.Level)11 PrisonBossLevel (com.shatteredpixel.shatteredpixeldungeon.levels.PrisonBossLevel)3 CavesBossLevel (com.shatteredpixel.shatteredpixeldungeon.levels.CavesBossLevel)2 CavesLevel (com.shatteredpixel.shatteredpixeldungeon.levels.CavesLevel)2 CityBossLevel (com.shatteredpixel.shatteredpixeldungeon.levels.CityBossLevel)2 CityLevel (com.shatteredpixel.shatteredpixeldungeon.levels.CityLevel)2 DeadEndLevel (com.shatteredpixel.shatteredpixeldungeon.levels.DeadEndLevel)2 HallsBossLevel (com.shatteredpixel.shatteredpixeldungeon.levels.HallsBossLevel)2 HallsLevel (com.shatteredpixel.shatteredpixeldungeon.levels.HallsLevel)2 LastLevel (com.shatteredpixel.shatteredpixeldungeon.levels.LastLevel)2 LastShopLevel (com.shatteredpixel.shatteredpixeldungeon.levels.LastShopLevel)2 PrisonLevel (com.shatteredpixel.shatteredpixeldungeon.levels.PrisonLevel)2 SewerBossLevel (com.shatteredpixel.shatteredpixeldungeon.levels.SewerBossLevel)2 SewerLevel (com.shatteredpixel.shatteredpixeldungeon.levels.SewerLevel)2 GrippingTrap (com.shatteredpixel.shatteredpixeldungeon.levels.traps.GrippingTrap)1 Plant (com.shatteredpixel.shatteredpixeldungeon.plants.Plant)1 Starflower (com.shatteredpixel.shatteredpixeldungeon.plants.Starflower)1 Bundle (com.watabou.utils.Bundle)1 IOException (java.io.IOException)1