aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.h
diff options
context:
space:
mode:
authorMariano Suligoy2017-11-30 21:50:09 -0300
committerMariano Suligoy2017-12-02 20:49:01 -0300
commitaf719a90a78687ac3d56367ef84696cc3b1c6434 (patch)
tree1b5e4f2ba4506b0673ead84b10b490e75f2996b6 /scene/2d/tile_map.h
parent4170e8f3dfefb46fb2309460a8b4a6540b627d2e (diff)
downloadgodot-af719a90a78687ac3d56367ef84696cc3b1c6434.tar.gz
godot-af719a90a78687ac3d56367ef84696cc3b1c6434.tar.zst
godot-af719a90a78687ac3d56367ef84696cc3b1c6434.zip
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r--scene/2d/tile_map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h
index a0ca2e6a3..8eecf48df 100644
--- a/scene/2d/tile_map.h
+++ b/scene/2d/tile_map.h
@@ -241,8 +241,8 @@ public:
bool is_cell_x_flipped(int p_x, int p_y) const;
bool is_cell_y_flipped(int p_x, int p_y) const;
bool is_cell_transposed(int p_x, int p_y) const;
- int get_cell_autotile_coord_x(int p_x, int p_y) const;
- int get_cell_autotile_coord_y(int p_x, int p_y) const;
+ void set_cell_autotile_coord(int p_x, int p_y, const Vector2 &p_coord);
+ Vector2 get_cell_autotile_coord(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;