diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-12-11 00:13:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 00:13:26 +0100 |
commit | c05c66ee01bcf285d5b4d952fb24c15af281803d (patch) | |
tree | 6306ac2e001d006d97397646349827791a26977a /scene/2d/tile_map.h | |
parent | 9e419406520f872e7eb6c1cc429188e81950bd05 (diff) | |
parent | 48cefc9c969719d6fab8d3237c6d9e02bd34b64f (diff) |
Merge pull request #14511 from akien-mga/drop_tilemap_center_xy
TileMap: Drop unused center_x/center_y booleans
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r-- | scene/2d/tile_map.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h index 11d9915cb6..e5608884c4 100644 --- a/scene/2d/tile_map.h +++ b/scene/2d/tile_map.h @@ -68,7 +68,6 @@ private: Ref<TileSet> tile_set; Size2i cell_size; int quadrant_size; - bool center_x, center_y; Mode mode; Transform2D custom_transform; HalfOffset half_offset; @@ -231,11 +230,6 @@ public: void set_quadrant_size(int p_size); int get_quadrant_size() const; - void set_center_x(bool p_enable); - bool get_center_x() const; - void set_center_y(bool p_enable); - bool get_center_y() const; - void set_cell(int p_x, int p_y, int p_tile, bool p_flip_x = false, bool p_flip_y = false, bool p_transpose = false, Vector2 p_autotile_coord = Vector2()); int get_cell(int p_x, int p_y) const; bool is_cell_x_flipped(int p_x, int p_y) const; |