Class Shop
- java.lang.Object
-
- org.rspeer.game.adapter.component.inventory.Shop
-
public class Shop extends Object
-
-
Constructor Summary
Constructors Constructor Description Shop()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemQueryResults
getItems()
static ItemQueryResults
getItems(int... ids)
static ItemQueryResults
getItems(String... names)
static ItemQueryResults
getItems(Predicate<Item> predicate)
static boolean
interact(Function<ItemQuery,ItemQueryResults> function, String action)
static boolean
isOpen()
static ItemQuery
query()
-
-
-
Method Detail
-
isOpen
public static boolean isOpen()
-
getItems
public static ItemQueryResults getItems()
-
getItems
public static ItemQueryResults getItems(Predicate<Item> predicate)
-
getItems
public static ItemQueryResults getItems(int... ids)
-
getItems
public static ItemQueryResults getItems(String... names)
-
query
public static ItemQuery query()
-
interact
public static boolean interact(Function<ItemQuery,ItemQueryResults> function, String action)
-
-