39 lines
656 B
C++
39 lines
656 B
C++
//
|
|
// Created by jser on 09/12/2021.
|
|
//
|
|
|
|
#ifndef X_BOT2_G990ADAPTER_H
|
|
#define X_BOT2_G990ADAPTER_H
|
|
|
|
#include "XBOT.h"
|
|
#include "G990.h"
|
|
|
|
|
|
class G990Adapter : public XBOT{
|
|
private :
|
|
G990 *g990;
|
|
int pdv;
|
|
|
|
public :
|
|
G990Adapter();
|
|
G990Adapter(const G990Adapter &g990adapter);
|
|
G990Adapter(G990* g990);
|
|
|
|
virtual ~G990Adapter();
|
|
|
|
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_G990ADAPTER_H
|