more stuff
This commit is contained in:
@@ -64,11 +64,25 @@ namespace Puzzle
|
||||
struct StaticPuzzleCard
|
||||
{
|
||||
PuzzleNode Nodes[Config::NodesPerCard];
|
||||
uint16_t ModelHandle = 0;
|
||||
};
|
||||
|
||||
struct StaticPuzzleCardHandle
|
||||
{
|
||||
uint16_t Idx = UINT16_MAX;
|
||||
bool IsValid()
|
||||
{
|
||||
return Idx != UINT16_MAX;
|
||||
}
|
||||
};
|
||||
|
||||
struct StaticPuzzleData
|
||||
{
|
||||
StaticPuzzleCard Cards[64];
|
||||
|
||||
void Setup();
|
||||
static StaticPuzzleData& Get();
|
||||
const StaticPuzzleCard& GetCard(StaticPuzzleCardHandle H) const;
|
||||
};
|
||||
|
||||
struct PlacedPuzzleCard
|
||||
|
||||
Reference in New Issue
Block a user