1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 10:57:34 +00:00

Chess: Add pawn promotion to any piece

This commit is contained in:
Peter Elliott 2020-08-11 22:53:11 -06:00 committed by Andreas Kling
parent 9d40472721
commit abd1f7e563
7 changed files with 144 additions and 5 deletions

View file

@ -59,6 +59,7 @@ public:
bool drag_enabled() const { return m_drag_enabled; }
void set_drag_enabled(bool e) { m_drag_enabled = e; }
RefPtr<Gfx::Bitmap> get_piece_graphic(const Chess::Piece& piece) const;
void reset();