summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.h
diff options
context:
space:
mode:
authorJohan Manuel <johan.manuel@live.fr>2016-02-06 13:27:26 +0100
committerJohan Manuel <johan.manuel@live.fr>2016-02-06 13:48:41 +0100
commita634fc7a4a4a413666569d5c26562d5ee982ba3f (patch)
tree1a98dec7337b4ab5b3c5dfe73b32642f2fe9e3f4 /scene/2d/tile_map.h
parent7e6fe942a463995fc2d317fdc979b92d8f53fb3e (diff)
Added get_cellv() method to TileMap
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r--scene/2d/tile_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h
index 14cb52b736..cec5ac0a1b 100644
--- a/scene/2d/tile_map.h
+++ b/scene/2d/tile_map.h
@@ -211,6 +211,7 @@ public:
bool is_cell_transposed(int p_x,int p_y) const;
void set_cellv(const Vector2& p_pos,int p_tile,bool p_flip_x=false,bool p_flip_y=false,bool p_transpose=false);
+ int get_cellv(const Vector2& p_pos) const;
Rect2 get_item_rect() const;