From 8142a9c87a13cecc7a3698e877f24d89f128c074 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 21 Apr 2018 14:50:52 -0400 Subject: Started working on prototype objects --- src/components/mappable.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/components/mappable.h') 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: font_ = std::move(v); } + inline std::map& getInstances() + { + return instances_; + } + private: size_t mapId_ = -1; @@ -135,6 +140,7 @@ private: asc_boundaries_type downBoundaries_; Texture tileset_; Texture font_; + std::map instances_; }; #endif /* end of include guard: MAPPABLE_H_0B0316FB */ -- cgit 1.4.1