1 2 3 4 5 6 7
#include "UiObject.h" using namespace crepe; UIObject::UIObject(game_object_id_t id, vec2 dimensions,vec2 offset) : Component(id), dimensions(dimensions),offset(offset){}