summaryrefslogtreecommitdiffhomepage
path: root/src/tile-image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile-image.cpp')
-rw-r--r--src/tile-image.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tile-image.cpp b/src/tile-image.cpp
new file mode 100644
index 00000000..4210db94
--- /dev/null
+++ b/src/tile-image.cpp
@@ -0,0 +1,11 @@
+#include "tile-image.hpp"
+
+namespace floormat {
+
+bool operator==(const tile_image& a, const tile_image& b) noexcept
+{
+ return a.atlas == b.atlas && a.variant == b.variant;
+}
+
+} // namespace floormat
+