Bishop.h 294 B

1234567891011121314151617181920
  1. #ifndef _BISHOP_H
  2. #define _BISHOP_H
  3. #include "Figure.h"
  4. #include "Position.h"
  5. #include <vector>
  6. class Bishop: public Figure
  7. {
  8. public:
  9. Bishop(Position pos, char color);
  10. virtual vector<Position> get_moves();
  11. virtual Figure* copy();
  12. virtual const char* print();
  13. };
  14. #endif