22 lines
278 B
C++
22 lines
278 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
|
|
|