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