aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/UIObject.cpp
blob: d239b89f1e4dcd47e83cc6e672b3aa1d9313246c (plain)
1
2
3
4
5
6
7
8
#include "UIObject.h"

using namespace crepe;

UIObject::UIObject(game_object_id_t id, const vec2 & dimensions, const vec2 & offset)
	: Component(id),
	  dimensions(dimensions),
	  offset(offset) {}