RuneHive-Game
Loading...
Searching...
No Matches
com.runehive.content.MuddyChest Class Reference

Handles opening the crystal chest. More...

Collaboration diagram for com.runehive.content.MuddyChest:

Static Public Member Functions

static Item getReward ()
 Handles getting an item reward from the chest.

Static Public Attributes

static final Item KEY = new Item(993)
 The item key to enter the crystal chest.

Static Private Attributes

static final Chance< ItemITEMS
 Holds all the crystal chest rewards.

Detailed Description

Handles opening the crystal chest.

Author
Daniel

Definition at line 15 of file MuddyChest.java.

Member Function Documentation

◆ getReward()

Item com.runehive.content.MuddyChest.getReward ( )
static

Handles getting an item reward from the chest.

Definition at line 23 of file MuddyChest.java.

23 {
24 return ITEMS.next();
25 }

References ITEMS.

Member Data Documentation

◆ ITEMS

final Chance<Item> com.runehive.content.MuddyChest.ITEMS
staticprivate

Holds all the crystal chest rewards.

Definition at line 28 of file MuddyChest.java.

Referenced by getReward().

◆ KEY

final Item com.runehive.content.MuddyChest.KEY = new Item(993)
static

The item key to enter the crystal chest.

Definition at line 19 of file MuddyChest.java.


The documentation for this class was generated from the following file: