20 lines
283 B
C++
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
|