]> git.localhorst.tv Git - l2e.git/blobdiff - src/graphics/Camera.h
better accessibility of map-related properties
[l2e.git] / src / graphics / Camera.h
index ea4e6d53b43a2e835797d7abc1499407af7e0f5b..7403d6faf2ce19a652aabc5d010c5826f66410cc 100644 (file)
@@ -15,6 +15,7 @@ public:
 public:
        void Resize(int w, int h) { halfWidth = w / 2; halfHeight = h / 2; }
        void SetTarget(const math::Vector<math::Fixed<8> > *t);
+       const math::Vector<math::Fixed<8> > *GetTarget() const { return target; }
 
        math::Vector<int> CalculateOffset() const;