world_generator/queued/IntRect.cpp

39 lines
683 B
C++
Raw Normal View History

2019-04-20 14:51:33 +02:00
#include "IntRect.h"
namespace BS {
2020-01-09 04:28:08 +01:00
namespace Levels {
namespace Generator {
int IntRect::getX() {
return this->x;
}
void IntRect::setX(int value) {
this->x = value;
}
int IntRect::getY() {
return this->y;
}
void IntRect::setY(int value) {
this->y = value;
}
int IntRect::getWidth() {
return this->width;
2019-04-20 14:51:33 +02:00
}
2020-01-09 04:28:08 +01:00
void IntRect::setWidth(int value) {
this->width = value;
}
int IntRect::getHeight() {
return this->height;
}
void IntRect::setHeight(int value) {
this->height = value;
}
IntRect::IntRect(int x, int y, int width, int height) {
this->x = x;
this->y = y;
this->width = width;
this->height = height;
}
} // namespace Generator
} // namespace Levels
} // namespace BS