17 lines
275 B
C++
17 lines
275 B
C++
#ifndef POLYMORPH_HPP
|
|
#define POLYMORPH_HPP
|
|
|
|
# include "ASpell.hpp"
|
|
|
|
class Polymorph: public ASpell {
|
|
public:
|
|
Polymorph(): ASpell("Polymorph", "turned into a critter") {};
|
|
~Polymorph() {};
|
|
|
|
virtual ASpell * clone() const {
|
|
return (new Polymorph());
|
|
};
|
|
};
|
|
|
|
#endif
|