18 lines
423 B
C++
18 lines
423 B
C++
//
|
|
// Created by sebastian on 13.02.26.
|
|
//
|
|
|
|
#ifndef DICEWARS_SIEDLER_BUILDINGDEFINITION_H
|
|
#define DICEWARS_SIEDLER_BUILDINGDEFINITION_H
|
|
#include "../ecs/components/BuildingComponent.h"
|
|
|
|
struct BuildingDefinition {
|
|
BuildingType type;
|
|
|
|
std::vector<RessourceType> allowedTileResources;
|
|
std::unordered_map<RessourceType, int> resourceCosts;
|
|
|
|
std::string model;
|
|
};
|
|
|
|
#endif //DICEWARS_SIEDLER_BUILDINGDEFINITION_H
|