]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/TileType.hpp
fun with resources
[blobs.git] / src / world / TileType.hpp
index 58294df071e017d33367c5e29ead1ca21fffc23b..c4eadcfc899a93eeb979f5a91638c8faec8c8e60 100644 (file)
@@ -2,6 +2,7 @@
 #define BLOBS_WORLD_TILETYPE_HPP_
 
 #include <string>
+#include <vector>
 
 
 namespace blobs {
@@ -15,6 +16,12 @@ struct TileType {
        int id;
        int texture;
 
+       struct Yield {
+               int resource;
+               double ubiquity;
+       };
+       std::vector<Yield> resources;
+
 };
 
 }