Interface IMagicData


  • public interface IMagicData
    • Method Detail

      • removeMagic

        void removeMagic​(int id)
        Parameters:
        id - The ID of the Magic
      • hasMagic

        boolean hasMagic​(int id)
        Parameters:
        id - The ID of the Magic
        Returns:
        If the Magic exists
      • clear

        void clear()
        Clears the Magics
      • isEmpty

        boolean isEmpty()
        Returns:
        If the Magics are empty
      • addMagic

        void addMagic​(int id,
                      float damage,
                      float split)
        Parameters:
        id - The ID of the Magic
        damage - The bonus damage for the Magic
        split - The split of the Magic
      • getMagicDamage

        float getMagicDamage​(int id)
        Parameters:
        id - The ID of the Magic
        Returns:
        The bonus damage for the Magic
      • getMagicSplit

        float getMagicSplit​(int id)
        Parameters:
        id - The ID of the Magic
        Returns:
        The split of the Magic