// // Created by jser on 09/12/2021. // #ifndef X_BOT2_W000ADAPTER_H #define X_BOT2_W000ADAPTER_H #include "XBOT.h" #include "W000.h" class W000Adapter : public XBOT{ private : W000 *w000; int pdv; public : W000Adapter(); W000Adapter(const W000Adapter &w000adapter); virtual ~W000Adapter(); W000Adapter(W000* w000); void bouger(int xAmi, int yAmi, int &x, int &y, int xEnnemi, int yEnnemi ); int attaquer(int x, int y, int xEnnemi, int yEnnemi); void defendre(int degat); bool estFonctionnel(); string toStringg(); int getPdv() const; void setPdv(int pdv); }; #endif //X_BOT2_W000ADAPTER_H