aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/UiObject.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:48:39 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-25 11:48:39 +0100
commit48015cd425b26eb68eb07f4e4b1adf71e81e11b1 (patch)
tree95725bd476cf92c5749e27c44c5134902dedfc66 /src/crepe/api/UiObject.h
parentea7d7ec301968f3a542de93f487f9501b70c0cd4 (diff)
make format
Diffstat (limited to 'src/crepe/api/UiObject.h')
-rw-r--r--src/crepe/api/UiObject.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/crepe/api/UiObject.h b/src/crepe/api/UiObject.h
index ae2e744..7bd1c2e 100644
--- a/src/crepe/api/UiObject.h
+++ b/src/crepe/api/UiObject.h
@@ -10,24 +10,24 @@ namespace crepe {
*/
class UiObject : public Component {
public:
- /**
+ /**
* \brief Constructs a UiObject with the specified game object ID.
* \param id The unique ID of the game object associated with this UI object.
*/
- UiObject(game_object_id_t id);
+ UiObject(game_object_id_t id);
- //! The width of the UI object.
- int width = 0;
+ //! The width of the UI object.
+ int width = 0;
- //! The height of the UI object.
- int height = 0;
+ //! The height of the UI object.
+ int height = 0;
public:
- /**
+ /**
* \brief Retrieves the maximum number of instances allowed for this UI object type.
* /return Always returns 1, as only a single instance is allowed.
*/
- virtual int get_instances_max() const override { return 1; }
+ virtual int get_instances_max() const override { return 1; }
};
} // namespace crepe