1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#include "Pretre.h"
Pretre::Pretre() : Personnage("Roger", "Marteau", 80, 40, 5, 10)
{
}
Pretre::Pretre(std::string sName) : Personnage(sName, "Marteau", 80, 40, 5, 10), m_AttaqueCeleste(0)
{
m_AttaqueCeleste = new Sort("Attaque Celeste", 10, 5, 15);
}
void Pretre::Pre() const
{
Personnage::Pre();
std::cout << "Pretre" << std::endl;
}
Pretre::~Pretre()
{
delete m_AttaqueCeleste;
}
|