Search in sources :

Example 1 with TownShopLevel

use of com.nyrds.pixeldungeon.levels.TownShopLevel in project pixel-dungeon-remix by NYRDS.

the class WndTradeItem method placeItemInShop.

private void placeItemInShop(Item item) {
    if (Dungeon.level instanceof TownShopLevel) {
        TownShopLevel shopLevel = (TownShopLevel) Dungeon.level;
        shopLevel.itemForSell(item);
    }
}
Also used : TownShopLevel(com.nyrds.pixeldungeon.levels.TownShopLevel)

Aggregations

TownShopLevel (com.nyrds.pixeldungeon.levels.TownShopLevel)1