X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2FTileType.hpp;h=7f18ee30261ac4ed0156956afa0787e6f197519e;hp=b5561fffa7a014875975c1325b96f84a456883a2;hb=475f28f06c9e14912bab8119264e247ef466513d;hpb=e99964b46daba40b1fad1224a42f5ea9f18d1642 diff --git a/src/world/TileType.hpp b/src/world/TileType.hpp index b5561ff..7f18ee3 100644 --- a/src/world/TileType.hpp +++ b/src/world/TileType.hpp @@ -6,6 +6,9 @@ namespace blobs { +namespace creature { + class Composition; +} namespace world { struct TileType { @@ -23,6 +26,7 @@ struct TileType { std::vector resources; std::vector::const_iterator FindResource(int) const; + std::vector::const_iterator FindBestResource(const creature::Composition &) const; };