fixed critical bug that corrupts transitions

This commit is contained in:
itsmattkc
2018-11-27 11:22:43 +11:00
parent 3a4b9c7531
commit 82bcb5d25f
10 changed files with 233 additions and 85 deletions
+35
View File
@@ -0,0 +1,35 @@
#include "effectgizmo.h"
EffectGizmo::EffectGizmo(int type) :
type(type)
{}
void EffectGizmo::set_pos(int ix, int iy) {
x = ix;
y = iy;
}
int EffectGizmo::get_x() {
return x;
}
int EffectGizmo::get_y() {
return y;
}
int EffectGizmo::get_type() {
return type;
}
void EffectGizmo::set_screen_pos(int isx, int isy) {
sx = isx;
sy = isy;
}
int EffectGizmo::get_screen_x() {
return sx;
}
int EffectGizmo::get_screen_y() {
return sy;
}