31 lines
565 B
C
31 lines
565 B
C
|
#ifndef DEF_REINE
|
||
|
|
||
|
#define DEF_REINE
|
||
|
|
||
|
/* [1] Libs
|
||
|
=========================================================*/
|
||
|
/* (1) Internes */
|
||
|
|
||
|
/* (2) Externes */
|
||
|
#include "Piece.h"
|
||
|
|
||
|
/* (3) Namespace */
|
||
|
using namespace std;
|
||
|
|
||
|
/* [2] Definition
|
||
|
=========================================================*/
|
||
|
class Reine : public Piece{
|
||
|
public:
|
||
|
Reine(int x, int y);
|
||
|
|
||
|
// ABSTRACT
|
||
|
bool can(const int x, const int y) const;
|
||
|
char getchar();
|
||
|
|
||
|
};
|
||
|
|
||
|
/* [n] Inclusion du corps
|
||
|
=========================================================*/
|
||
|
#include "Reine.cpp"
|
||
|
|
||
|
#endif
|