diff options
Diffstat (limited to 'src/crepe/api/UiObject.cpp')
-rw-r--r-- | src/crepe/api/UiObject.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/crepe/api/UiObject.cpp b/src/crepe/api/UiObject.cpp index 7859a90..0262d31 100644 --- a/src/crepe/api/UiObject.cpp +++ b/src/crepe/api/UiObject.cpp @@ -2,7 +2,6 @@ using namespace crepe; -UiObject::UiObject(game_object_id_t id, int width, int height) +UIObject::UIObject(game_object_id_t id, vec2 dimensions,vec2 offset) : Component(id), - width(width), - height(height){}; + dimensions(dimensions),offset(offset){} |