Class Equipment
- java.lang.Object
-
- org.rspeer.game.adapter.Adapter<RSInventory>
-
- org.rspeer.game.adapter.component.inventory.Inventory
-
- org.rspeer.game.adapter.component.inventory.Equipment
-
public class Equipment extends Inventory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Equipment.Slot
-
Nested classes/interfaces inherited from class org.rspeer.game.adapter.component.inventory.Inventory
Inventory.Format
-
-
Constructor Summary
Constructors Constructor Description Equipment(RSInventory provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCapacity()
Item
getItemAt(Equipment.Slot slot)
boolean
remove(Equipment.Slot slot)
-
Methods inherited from class org.rspeer.game.adapter.component.inventory.Inventory
backpack, bank, contains, containsAll, equipment, forceDefaultProvider, get, get, get, getCount, getCount, getEmptySlots, getItems, getItems, getItems, getItems, getKey, getSelectedItem, interact, isEmpty, isFull, isItemSelected, isLoaded, isUnbound, query, queryOf, queryOf, setExtractFromProvider, setQueries, toString
-
Methods inherited from class org.rspeer.game.adapter.Adapter
getProvider, validate
-
-
-
-
Constructor Detail
-
Equipment
public Equipment(RSInventory provider)
-
-
Method Detail
-
getItemAt
public Item getItemAt(Equipment.Slot slot)
-
remove
public boolean remove(Equipment.Slot slot)
-
getCapacity
public int getCapacity()
- Overrides:
getCapacity
in classInventory
-
-