aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Asset.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-14 19:57:45 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-14 19:57:45 +0100
commitadd8724446fdeae1aaec9b07544cf7a5475a9bfe (patch)
tree7c51cf0d65f8f0d906a0abe2b29bad916dcf83e8 /src/crepe/api/Asset.h
parentab0b4923c4f49e7a28f6d17e994d3e013ca344bb (diff)
ResourceManager working + tested
Diffstat (limited to 'src/crepe/api/Asset.h')
-rw-r--r--src/crepe/api/Asset.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/crepe/api/Asset.h b/src/crepe/api/Asset.h
index 0f6b0b3..05dccba 100644
--- a/src/crepe/api/Asset.h
+++ b/src/crepe/api/Asset.h
@@ -29,6 +29,13 @@ public:
*/
const std::string & get_path() const noexcept;
+ /**
+ * \brief Comparison operator
+ * \param other Possibly different instance of \c Asset to test equality against
+ * \return True if \c this and \c other are equal
+ */
+ bool operator == (const Asset & other) const noexcept;
+
private:
//! path to asset
const std::string src;