/src/Component.cpp
#include "Component.h"
Component::Component(void) {
this->setPosition(0, 0);
this->setSize(0, 0);
}
Component::Component(int x, int y, int w, int h) {
this->setPosition(x, y);
this->setSize(w, h);
}
Component::~Component(void) { }
void Component::setPosition(int x, int y) {
this->x = x;
this->y = y;
}
void Component::setSize(int w, int h) {
this->w = w;
this->h = h;
}