Files
nchess-cpp/queen.h
2014-09-30 17:09:22 +03:00

20 lines
283 B
C++

#ifndef QUEEN_H
#define QUEEN_H
#include "piece.h"
class queen : public piece {
public:
queen(int x, int y, int team)
{
this->x = x;
this->y = y;
this->team = team;
rank = QUEEN;
}
virtual void move(int, int);
};
#endif // QUEEN_H