diff options
Diffstat (limited to 'src/components/mappable.h')
-rw-r--r-- | src/components/mappable.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/mappable.h b/src/components/mappable.h index 633cdf4..e26326d 100644 --- a/src/components/mappable.h +++ b/src/components/mappable.h | |||
@@ -125,6 +125,11 @@ public: | |||
125 | font_ = std::move(v); | 125 | font_ = std::move(v); |
126 | } | 126 | } |
127 | 127 | ||
128 | inline std::map<size_t, id_type>& getInstances() | ||
129 | { | ||
130 | return instances_; | ||
131 | } | ||
132 | |||
128 | private: | 133 | private: |
129 | 134 | ||
130 | size_t mapId_ = -1; | 135 | size_t mapId_ = -1; |
@@ -135,6 +140,7 @@ private: | |||
135 | asc_boundaries_type downBoundaries_; | 140 | asc_boundaries_type downBoundaries_; |
136 | Texture tileset_; | 141 | Texture tileset_; |
137 | Texture font_; | 142 | Texture font_; |
143 | std::map<size_t, id_type> instances_; | ||
138 | }; | 144 | }; |
139 | 145 | ||
140 | #endif /* end of include guard: MAPPABLE_H_0B0316FB */ | 146 | #endif /* end of include guard: MAPPABLE_H_0B0316FB */ |