Class DeadByMoonlightAPI


  • public final class DeadByMoonlightAPI
    extends java.lang.Object
    Your favourite class. Probably. Should be.
    • Method Detail

      • 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.