aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/UIObject.cpp
blob: 784328a4acb728a35cc4477b2570d70ea3da2c88 (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) {}