]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/TileType.hpp
overhaul need system
[blobs.git] / src / world / TileType.hpp
index c4eadcfc899a93eeb979f5a91638c8faec8c8e60..7f18ee30261ac4ed0156956afa0787e6f197519e 100644 (file)
@@ -6,6 +6,9 @@
 
 
 namespace blobs {
+namespace creature {
+       class Composition;
+}
 namespace world {
 
 struct TileType {
@@ -22,6 +25,9 @@ struct TileType {
        };
        std::vector<Yield> resources;
 
+       std::vector<Yield>::const_iterator FindResource(int) const;
+       std::vector<Yield>::const_iterator FindBestResource(const creature::Composition &) const;
+
 };
 
 }