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