2018-09-30 16:26:06 +03:00
|
|
|
#include "guiobject.h"
|
|
|
|
|
2018-10-08 21:10:07 +03:00
|
|
|
GuiObject::GuiObject(QObject *ptr) :
|
|
|
|
QObject (ptr)
|
2018-09-30 16:26:06 +03:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2018-10-08 21:10:07 +03:00
|
|
|
|
|
|
|
double GuiObject::getAngle() const {
|
|
|
|
return angle;
|
|
|
|
}
|
|
|
|
|
|
|
|
void GuiObject::setAngle(double angle) {
|
|
|
|
this->angle = angle;
|
|
|
|
}
|
|
|
|
|
|
|
|
double GuiObject::getY() const {
|
|
|
|
return y;
|
|
|
|
}
|
|
|
|
|
|
|
|
void GuiObject::setY(double y) {
|
|
|
|
this->y = y;
|
|
|
|
}
|
|
|
|
|
|
|
|
double GuiObject::getX() const {
|
|
|
|
return x;
|
|
|
|
}
|
|
|
|
|
|
|
|
void GuiObject::setX(double x) {
|
|
|
|
this->x = x;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString GuiObject::getTexture() const {
|
|
|
|
return texture;
|
|
|
|
}
|
|
|
|
|
|
|
|
void GuiObject::setTexture(const QString &texture) {
|
|
|
|
this->texture = texture;
|
|
|
|
}
|