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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crepe/api/UiObject.cpp b/src/crepe/api/UiObject.cpp
index 1c11fc3..987fc06 100644
--- a/src/crepe/api/UiObject.cpp
+++ b/src/crepe/api/UiObject.cpp
@@ -2,4 +2,4 @@
using namespace crepe;
-UiObject::UiObject(game_object_id_t id) : Component(id){};
+UiObject::UiObject(game_object_id_t id,int width,int height) : Component(id),width(width),height(height){};