Search in sources :

Example 1 with Shopkeeper

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

the class ShopRoom method placeShopkeeper.

protected void placeShopkeeper(Level level) {
    int pos = level.pointToCell(center());
    Mob shopkeeper = new Shopkeeper();
    shopkeeper.pos = pos;
    level.mobs.add(shopkeeper);
}
Also used : Mob(com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob) Shopkeeper(com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Shopkeeper) Point(com.watabou.utils.Point)

Aggregations

Mob (com.shatteredpixel.shatteredpixeldungeon.actors.mobs.Mob)1 Shopkeeper (com.shatteredpixel.shatteredpixeldungeon.actors.mobs.npcs.Shopkeeper)1 Point (com.watabou.utils.Point)1