feat: add selection animation for piece

This commit is contained in:
2026-01-15 20:05:09 +08:00
parent d65d4241f4
commit 4ae99a44a3
3 changed files with 59 additions and 6 deletions

View File

@@ -36,6 +36,8 @@ private:
TextureManager* m_textureManager;
std::optional<std::pair<int, int>> m_lastSelected = std::nullopt;
public:
BoardRenderer(int WIDTH, int HEIGHT, SDL_Renderer* renderer, TextureManager* textureManager);