Class Dampymon

  • All Implemented Interfaces:
    MinForneymon

    public class Dampymon
    extends Forneymon
    Water-pale Forneymon that takes bonus BURNY damage.
    • Constructor Detail

      • Dampymon

        public Dampymon​(int level)
        Creates a new Forneymon of this species with the given level
        Parameters:
        level - Level in which to initialize this Forneymon
      • Dampymon

        public Dampymon​(Dampymon toCopy)
        Copy constructor for Dampymon that creates a deep-copy of the given other toCopy
        Parameters:
        toCopy - The other to copy from
    • Method Detail

      • takeDamage

        public int takeDamage​(int dmg,
                              DamageType type)
        Description copied from class: Forneymon
        Reduces the Forneymon's health by the amount specified, with the potential for bonuses / penalties based on the damage type
        Specified by:
        takeDamage in interface MinForneymon
        Overrides:
        takeDamage in class Forneymon
        Parameters:
        dmg - Amount of damage taken
        type - Damage Type of the damage taken
        Returns:
        This Forneymon's health remaining
        See Also:
        Dampymon take bonus BURNY damage
      • clone

        public Dampymon clone()
        Creates a copy of this Forneymon
        Specified by:
        clone in class Forneymon
        Returns:
        A copy of the calling Forneymon