mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-12 10:15:07 +01:00
39 lines
683 B
C++
39 lines
683 B
C++
#include "IntRect.h"
|
|
namespace BS {
|
|
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;
|
|
}
|
|
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
|