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