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:
parent
9d40472721
commit
abd1f7e563
7 changed files with 144 additions and 5 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue