You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
757 B
38 lines
757 B
#ifndef DAME_HPP
|
|
#define DAME_HPP
|
|
|
|
#include <iostream>
|
|
#include "humain.hpp"
|
|
|
|
namespace personnage {
|
|
|
|
class Brigand;
|
|
|
|
class Cowboy;
|
|
|
|
class Dame : public Humain {
|
|
|
|
std::string couleurRobe;
|
|
bool captive = false;
|
|
|
|
public:
|
|
|
|
Dame(const std::string &nom, const std::string &boisson, const std::string &couleurRobe);
|
|
Dame(const std::string &nom);
|
|
|
|
std::string getNom() const override;
|
|
std::string getCouleurRobe() const;
|
|
bool isCaptive() const;
|
|
|
|
void setCouleurRobe(const std::string &couleur);
|
|
|
|
void seFaireKidnapper(const Brigand &brigand);
|
|
bool seFaireLiberer(const Cowboy &cowboy);
|
|
|
|
void sePresenter() const override;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // DAME_HPP
|