summaryrefslogtreecommitdiffstats
path: root/scene/2d/sprite_2d.h
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-05-23 18:46:39 +0200
committerkobewi <kobewi4e@gmail.com>2021-05-23 21:38:27 +0200
commit5605454981012ee40ca9e4cd8249fa3fba6092ef (patch)
tree5ef32ff3599ca5f6112354061df445ded724631d /scene/2d/sprite_2d.h
parent809948f977294c8bb61a6e46dfa132ea6e0478d8 (diff)
downloadredot-engine-5605454981012ee40ca9e4cd8249fa3fba6092ef.tar.gz
Change frame_coords to Vector2i
Diffstat (limited to 'scene/2d/sprite_2d.h')
-rw-r--r--scene/2d/sprite_2d.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/2d/sprite_2d.h b/scene/2d/sprite_2d.h
index 9db74cfe26..49df78c59d 100644
--- a/scene/2d/sprite_2d.h
+++ b/scene/2d/sprite_2d.h
@@ -109,8 +109,8 @@ public:
void set_frame(int p_frame);
int get_frame() const;
- void set_frame_coords(const Vector2 &p_coord);
- Vector2 get_frame_coords() const;
+ void set_frame_coords(const Vector2i &p_coord);
+ Vector2i get_frame_coords() const;
void set_vframes(int p_amount);
int get_vframes() const;