add blueprint tests

This commit is contained in:
2026-04-26 22:19:46 +02:00
parent 71677b806a
commit 1e2135dc5b
5 changed files with 408 additions and 1 deletions

22
src/lib/core/Blueprint.h Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
#include <vector>
#include <QPoint>
#include <QString>
#include "BuildingType.h"
#include "Rotation.h"
struct BlueprintBuilding
{
BuildingType type;
Rotation rotation;
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
};
struct Blueprint
{
QString name;
std::vector<BlueprintBuilding> buildings;
};