1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:37:46 +00:00

Chess: Show available moves from current piece

This commit is contained in:
lucastarche 2021-03-27 17:59:54 -03:00 committed by Andreas Kling
parent 52ce7ed842
commit 42f7f9d0f8
2 changed files with 26 additions and 0 deletions

View file

@ -142,6 +142,8 @@ private:
Gfx::IntPoint m_drag_point;
bool m_dragging_piece { false };
bool m_drag_enabled { true };
bool m_show_available_moves { true };
Vector<Chess::Square> m_available_moves;
RefPtr<Engine> m_engine;
bool m_coordinates { true };
};