puzzle ui

This commit is contained in:
Asuro
2025-03-30 20:47:09 +02:00
parent c244b997c1
commit 29a3aaf241
5 changed files with 32 additions and 26 deletions

View File

@@ -35,6 +35,7 @@ namespace Puzzle
PuzzleElementType::Enum GetCardNodeAt(const StaticPuzzleCard& card, uint8_t rotation, int8_t x, int8_t y);
PuzzleElementType::Enum& EditCardNodeAt(StaticPuzzleCard& card, uint8_t rotation, int8_t x, int8_t y);
void DrawCard(const StaticPuzzleCard& card, uint8_t rotation, ImVec2 pos);
void RotateCard(PlacedPuzzleCard& card);
// TODO: targetPos is of type CardPos
bool ReturnPlacedCard(PuzzleData& obj, PuzPos targetPos);