From 657f3ea479ec9a1e7703140d0655fd7283a784e0 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 24 Sep 2014 03:38:46 +0200 Subject: Directly use MapView contructor --- src/control/MapContext.hpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/control/MapContext.hpp') 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 initView(const std::shared_ptr &window) { - return std::make_shared(window, map); - } }; } -- cgit v1.2.3