|
RuneHive-Game
|
Public Member Functions | |
| boolean | click (Item item) |
| MysteryBoxManager (Player player) | |
| void | spin () |
Public Attributes | |
| MysteryBox | box |
Package Attributes | |
| int | count |
Private Attributes | |
| final Player | player |
Definition at line 12 of file MysteryBoxManager.java.
| com.runehive.content.mysterybox.MysteryBoxManager.MysteryBoxManager | ( | Player | player | ) |
Definition at line 17 of file MysteryBoxManager.java.
References player.
| boolean com.runehive.content.mysterybox.MysteryBoxManager.click | ( | Item | item | ) |
Definition at line 21 of file MysteryBoxManager.java.
References box, count, com.runehive.game.world.items.Item.getId(), com.runehive.content.mysterybox.MysteryBox.getMysteryBox(), com.runehive.game.world.position.Area.inWilderness(), player, and spin().
Referenced by com.runehive.net.packet.in.ItemOptionPacketListener.handleFirstOption().
| void com.runehive.content.mysterybox.MysteryBoxManager.spin | ( | ) |
Definition at line 59 of file MysteryBoxManager.java.
References box, count, player, and com.runehive.game.world.World.schedule().
Referenced by click().
| MysteryBox com.runehive.content.mysterybox.MysteryBoxManager.box |
Definition at line 15 of file MysteryBoxManager.java.
|
package |
Definition at line 14 of file MysteryBoxManager.java.
|
private |
Definition at line 13 of file MysteryBoxManager.java.
Referenced by click(), MysteryBoxManager(), and spin().