|
RuneHive-Game
|
The preset class. More...
Public Member Functions | |
| Item[] | getEquipment () |
| Item[] | getInventory () |
| Gets the inventory of the preset. | |
| String | getName () |
| Gets the name of the preset. | |
| PrayerBook | getPrayer () |
| Spellbook | getSpellbook () |
| Preset () | |
| Constructs a new preset. | |
| Preset (String name) | |
| Constructs a new preset. | |
| Preset (String name, Item[] inventory, Item[] equipment, PrayerBook prayer, Spellbook spellbook) | |
| Constructs a new preset. | |
| void | setName (String name) |
Private Attributes | |
| final Item[] | equipment |
| The equipment items of the preset. | |
| final Item[] | inventory |
| The inventory items of the preset. | |
| String | name |
| The name of the preset. | |
| final PrayerBook | prayer |
| The quick-prayers of the preset. | |
| final Spellbook | spellbook |
| The spellbook of the preset. | |
The preset class.
Definition at line 12 of file Preset.java.
| com.runehive.content.preset.Preset.Preset | ( | String | name, |
| Item[] | inventory, | ||
| Item[] | equipment, | ||
| PrayerBook | prayer, | ||
| Spellbook | spellbook ) |
Constructs a new preset.
| name | The name of the preset. |
| inventory | The inventory of the preset. |
| equipment | The equipment of the preset. |
| prayer | The quick-prayers of the preset. |
| spellbook | The spellbook of the preset. |
Definition at line 43 of file Preset.java.
References equipment, inventory, name, prayer, and spellbook.
| com.runehive.content.preset.Preset.Preset | ( | String | name | ) |
Constructs a new preset.
| name | The name of the preset. |
Definition at line 57 of file Preset.java.
References com.runehive.content.skill.impl.magic.Spellbook.MODERN, and name.
| com.runehive.content.preset.Preset.Preset | ( | ) |
Constructs a new preset.
Definition at line 64 of file Preset.java.
References com.runehive.content.skill.impl.magic.Spellbook.MODERN.
| Item[] com.runehive.content.preset.Preset.getEquipment | ( | ) |
| Item[] com.runehive.content.preset.Preset.getInventory | ( | ) |
Gets the inventory of the preset.
Definition at line 83 of file Preset.java.
References inventory.
| String com.runehive.content.preset.Preset.getName | ( | ) |
Gets the name of the preset.
Definition at line 74 of file Preset.java.
References name.
| PrayerBook com.runehive.content.preset.Preset.getPrayer | ( | ) |
| Spellbook com.runehive.content.preset.Preset.getSpellbook | ( | ) |
| void com.runehive.content.preset.Preset.setName | ( | String | name | ) |
|
private |
The equipment items of the preset.
Definition at line 21 of file Preset.java.
Referenced by getEquipment(), and Preset().
|
private |
The inventory items of the preset.
Definition at line 18 of file Preset.java.
Referenced by getInventory(), and Preset().
|
private |
|
private |
The quick-prayers of the preset.
Definition at line 24 of file Preset.java.
Referenced by getPrayer(), and Preset().
|
private |
The spellbook of the preset.
Definition at line 27 of file Preset.java.
Referenced by getSpellbook(), and Preset().