Package org.kikikan.deadbymoonlight
Class DeadByMoonlightAPI
- java.lang.Object
-
- org.kikikan.deadbymoonlight.DeadByMoonlightAPI
-
public final class DeadByMoonlightAPI extends java.lang.Object
Your favourite class. Probably. Should be.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addGameComponent(GameComponent gameComponent)
Adds your game-changing Game Component to the game.static void
addItem(Item item)
Adds your super useful Item to the game.static void
addPerk(Perk perk)
Adds your awesome Perk to the mix!static java.util.ArrayList<GameComponent>
getGameComponents()
Gets the list of Game Components.static java.util.ArrayList<Item>
getItems()
Gets the list of Items.static java.util.ArrayList<Perk>
getPerks()
Gets the list of Perks.static void
setInstance(DeadByMoonlightAPI instance)
-
-
-
Method Detail
-
setInstance
public static void setInstance(DeadByMoonlightAPI instance)
-
addPerk
public static void addPerk(Perk perk)
Adds your awesome Perk to the mix!- Parameters:
perk
- Insert your Perk here. The JavaPlugin should be your plugin's main class, and the PerkUser should be null.
-
addItem
public static void addItem(Item item)
Adds your super useful Item to the game.- Parameters:
item
- Insert your handcrafted Item here. The JavaPlugin should be your plugin's main class and the Survivor should be null.
-
addGameComponent
public static void addGameComponent(GameComponent gameComponent)
Adds your game-changing Game Component to the game.- Parameters:
gameComponent
- Insert your Game Component here.
-
getPerks
public static java.util.ArrayList<Perk> getPerks()
Gets the list of Perks.- Returns:
- A copy of the Perk list.
-
getItems
public static java.util.ArrayList<Item> getItems()
Gets the list of Items.- Returns:
- A copy of the Item list.
-
getGameComponents
public static java.util.ArrayList<GameComponent> getGameComponents()
Gets the list of Game Components.- Returns:
- A copy of the Game Component list.
-
-