one implementation of the exam
This commit is contained in:
16
cpp_module_02/Fireball.hpp
Normal file
16
cpp_module_02/Fireball.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef FIREBALL_HPP
|
||||
#define FIREBALL_HPP
|
||||
|
||||
# include "ASpell.hpp"
|
||||
|
||||
class Fireball: public ASpell {
|
||||
public:
|
||||
Fireball(): ASpell("Fireball", "burnt to a crisp") {};
|
||||
~Fireball() {};
|
||||
|
||||
virtual ASpell * clone() const {
|
||||
return (new Fireball());
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user