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