13 lines
313 B
C++

#include "ChessPiece.hpp"
#ifndef ChessPiece_King_H
#define ChessPiece_King_H
class King : public ChessPiece {
public:
King(ChessPieceColor color, ChessPiecePosition position);
std::set<ChessPiecePosition> GetNextPositions(Chessboard* chessboard, std::set<ChessPiecePosition> ignore = {});
};
#endif