resolved one error and one segfault in xpp02

This commit is contained in:
lenovo
2022-12-12 22:34:11 +01:00
parent fecde1a8b1
commit 5b19461090
33 changed files with 567 additions and 326 deletions

View File

@@ -1,16 +1,21 @@
#ifndef FIREBALL_HPP
#define FIREBALL_HPP
# include "ASpell.hpp"
#include "ASpell.hpp"
class Fireball: public ASpell {
class Fireball: public ASpell
{
public:
Fireball(): ASpell("Fireball", "burnt to a crisp") {};
~Fireball() {};
Fireball(): ASpell("Fireball", "burnt to a crisp")
{}
~Fireball()
{}
virtual ASpell * clone() const {
virtual ASpell * clone() const
{
return (new Fireball());
};
}
};
#endif