Declares the AMateria abstract base class.
Represents an abstract base class for all magical materias.
Represents a healing magic materia.
Cure & operator=(const Cure &other)
Copy assignment operator for Cure. Assigns values from another Cure object by calling the base class ...
virtual void use(ICharacter &target)
Uses the Cure materia to heal the target character. Prints a message indicating that the target's wou...
virtual ~Cure()
Destroys the Cure object.
Cure()
Default constructor for Cure. Initializes the materia type to "cure".
virtual AMateria * clone() const
Creates a new, identical instance of a Cure materia.
An interface for any character that can interact with Materias.