Search in sources :

Example 1 with Goo

use of com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Goo in project shattered-pixel-dungeon-gdx by 00-Evan.

the class SewerBossLevel method createMobs.

@Override
protected void createMobs() {
    Goo boss = new Goo();
    Room room;
    do {
        room = randomRoom(StandardRoom.class);
    } while (room == roomEntrance);
    boss.pos = pointToCell(room.random());
    mobs.add(boss);
}
Also used : Goo(com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Goo) EmptyRoom(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.EmptyRoom) SewerBossEntranceRoom(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.SewerBossEntranceRoom) Room(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.Room) RatKingRoom(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.secret.RatKingRoom) StandardRoom(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.StandardRoom) StandardRoom(com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.StandardRoom)

Aggregations

Goo (com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Goo)1 Room (com.shatteredpixel.shatteredpixeldungeon.levels.rooms.Room)1 RatKingRoom (com.shatteredpixel.shatteredpixeldungeon.levels.rooms.secret.RatKingRoom)1 EmptyRoom (com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.EmptyRoom)1 SewerBossEntranceRoom (com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.SewerBossEntranceRoom)1 StandardRoom (com.shatteredpixel.shatteredpixeldungeon.levels.rooms.standard.StandardRoom)1