mirror of
https://github.com/Relintai/world_generator.git
synced 2024-11-14 10:17:19 +01:00
47 lines
743 B
C++
47 lines
743 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;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|