summaryrefslogtreecommitdiff
path: root/scene/2d/tile_map.h
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2020-06-30 02:34:15 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-05-07 16:20:02 -0400
commit75e3f6b732005ba3a2499656e3623f5716beaa6b (patch)
tree2624fc03df2b6a9c676c19d56a23b200770107da /scene/2d/tile_map.h
parentee44982c4526a2823543d4e9eca5d4e566d645af (diff)
Update TileMap to use Vector2i instead of two ints
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r--scene/2d/tile_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h
index 704897da15..e9dbccbdb9 100644
--- a/scene/2d/tile_map.h
+++ b/scene/2d/tile_map.h
@@ -264,7 +264,7 @@ public:
void update_dirty_quadrants();
- Vector2 map_to_world(const Vector2 &p_pos) const;
+ Vector2 map_to_world(const Vector2i &p_pos) const;
Vector2i world_to_map(const Vector2 &p_pos) const;
bool is_existing_neighbor(TileSet::CellNeighbor p_cell_neighbor) const;