supertux/sector.[ch]pp: Implemented the get_nearby_objects() method.
[supertux.git] / src / supertux / sector.hpp
index 69f2d70..7016653 100644 (file)
@@ -165,6 +165,8 @@ public:
     return (get_nearest_player (get_anchor_pos (pos, ANCHOR_MIDDLE)));
   }
 
+  std::vector<MovingObject*> get_nearby_objects (const Vector& center, float max_distance);
+
   Rectf get_active_region();
 
   /**