summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-04-18 14:00:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-04-18 14:00:15 -0300
commitbe46be78012e98d68b960437bf3d33e577948548 (patch)
treea90870e00664ad963b2c66a704da6bcc3a2bb3d2 /scene/2d/tile_map.h
parent3b434eacde58450965708c3eafb6b22eb2a99361 (diff)
-renamed function to get object from instance id
-added function to get list of tiles used
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r--scene/2d/tile_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h
index e02c4ee5bb..976ddfc5cf 100644
--- a/scene/2d/tile_map.h
+++ b/scene/2d/tile_map.h
@@ -171,6 +171,8 @@ private:
_FORCE_INLINE_ Vector2 _map_to_world(int p_x,int p_y,bool p_ignore_ofs=false) const;
+ Array get_used_cells() const;
+
protected: