summaryrefslogtreecommitdiffstats
path: root/src/control/MapContext.hpp
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 03:38:46 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-24 03:38:46 +0200
commit657f3ea479ec9a1e7703140d0655fd7283a784e0 (patch)
tree15f778df6a539a7dce59e8c07374ca23a109f82b /src/control/MapContext.hpp
parent3c995acde81feae6c46a14fe7abbc6d2b434422b (diff)
downloadrpgedit-657f3ea479ec9a1e7703140d0655fd7283a784e0.tar
rpgedit-657f3ea479ec9a1e7703140d0655fd7283a784e0.zip
Directly use MapView contructor
Diffstat (limited to 'src/control/MapContext.hpp')
-rw-r--r--src/control/MapContext.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/control/MapContext.hpp b/src/control/MapContext.hpp
index 0612dd3..37a38ea 100644
--- a/src/control/MapContext.hpp
+++ b/src/control/MapContext.hpp
@@ -58,10 +58,6 @@ public:
Model::Position getViewPosition(uint64_t time) {
return map->getPlayerEntity()->getPosition(time);
}
-
- std::shared_ptr<View::MapView> initView(const std::shared_ptr<View::Window> &window) {
- return std::make_shared<View::MapView>(window, map);
- }
};
}