aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/UiObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/UiObject.cpp')
-rw-r--r--src/crepe/api/UiObject.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/crepe/api/UiObject.cpp b/src/crepe/api/UiObject.cpp
new file mode 100644
index 0000000..7859a90
--- /dev/null
+++ b/src/crepe/api/UiObject.cpp
@@ -0,0 +1,8 @@
+#include "UiObject.h"
+
+using namespace crepe;
+
+UiObject::UiObject(game_object_id_t id, int width, int height)
+ : Component(id),
+ width(width),
+ height(height){};