summaryrefslogtreecommitdiff
path: root/src/resources/map/speciallayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/speciallayer.h')
-rw-r--r--src/resources/map/speciallayer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/map/speciallayer.h b/src/resources/map/speciallayer.h
index f418aec7c..8f6f914d3 100644
--- a/src/resources/map/speciallayer.h
+++ b/src/resources/map/speciallayer.h
@@ -66,6 +66,14 @@ class SpecialLayer final : public MemoryCounter
void updateCache();
+#ifdef UNITTESTS
+ const int *getCache() const
+ { return mCache; }
+
+ MapItem **getTiles() const
+ { return mTiles; }
+#endif // UNITTESTS
+
private:
const std::string mName;
MapItem **mTiles;