From a634fc7a4a4a413666569d5c26562d5ee982ba3f Mon Sep 17 00:00:00 2001 From: Johan Manuel Date: Sat, 6 Feb 2016 13:27:26 +0100 Subject: Added get_cellv() method to TileMap --- scene/2d/tile_map.h | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/2d/tile_map.h') 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; -- cgit v1.2.3