fixed critical bug that corrupts transitions
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user