Initial commit

This commit is contained in:
2014-09-30 17:09:22 +03:00
commit 1d8061ef10
18 changed files with 1345 additions and 0 deletions

22
rook.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef ROOK_H
#define ROOK_H
#include "piece.h"
class rook : public piece {
private:
bool castled;
public:
rook(int x, int y, int team)
{
castled = false;
this->x = x;
this->y = y;
this->team = team;
rank = ROOK;
}
virtual void move(int, int);
};
#endif // ROOK_H