implement storing recipes in blueprint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <QPoint>
|
||||
@@ -12,7 +13,8 @@ struct BlueprintBuilding
|
||||
{
|
||||
BuildingType type;
|
||||
Rotation rotation;
|
||||
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
|
||||
QPoint offset; // tile offset from bounding-box center (floor for even sizes)
|
||||
std::string recipeId; // empty = none selected
|
||||
};
|
||||
|
||||
struct Blueprint
|
||||
|
||||
Reference in New Issue
Block a user