X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMapState.h;h=b753ccfd61201aa1e2decb13f586c6bda05ef64d;hb=a1c89e41e38eca790e168b8acd3beee974685fcd;hp=243325c69e5fef58ed8eff91efd03ea9d5ee758a;hpb=9302f6869530e5492c73ef6f12f9cea348e8b2a6;p=l2e.git diff --git a/src/map/MapState.h b/src/map/MapState.h index 243325c..b753ccf 100644 --- a/src/map/MapState.h +++ b/src/map/MapState.h @@ -22,7 +22,7 @@ class MapState : public app::State { public: - explicit MapState(const Map *); + explicit MapState(Map *); virtual ~MapState() { } public: @@ -47,8 +47,10 @@ private: void OnGridLock(); void OnMove(); + void UpdateFollower(Entity *); + private: - const Map *map; + Map *map; Entity *controlled; geometry::Vector tempTarget; geometry::Vector lastLock;