aboutsummaryrefslogtreecommitdiff
path: root/aocharmovie.h
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-30 00:11:42 +0200
committerCerapter <cerap@protonmail.com>2018-09-30 00:11:42 +0200
commit8138068d51cbff955de457c242c391bec5d0f163 (patch)
treefc5bdda756b8bf8c99fe864217b7536b7f93b8b3 /aocharmovie.h
parent5930bf569b7e1c4e51034a072fe3436465812a86 (diff)
I totally forgot this, it seems.
Diffstat (limited to 'aocharmovie.h')
-rw-r--r--aocharmovie.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/aocharmovie.h b/aocharmovie.h
index b26bada5..7ef7da3f 100644
--- a/aocharmovie.h
+++ b/aocharmovie.h
@@ -25,6 +25,8 @@ public:
void stop();
+ void move(int ax, int ay);
+
void combo_resize(int w, int h);
private:
@@ -36,6 +38,10 @@ private:
const int time_mod = 62;
+ // These are the X and Y values before they are fixed based on the sprite's width.
+ int x = 0;
+ int y = 0;
+
bool m_flipped = false;
bool play_once = true;