aboutsummaryrefslogtreecommitdiff
path: root/src/engine/data/bounds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/data/bounds.hpp')
-rw-r--r--src/engine/data/bounds.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/data/bounds.hpp b/src/engine/data/bounds.hpp
index 1875bf4..b29005e 100644
--- a/src/engine/data/bounds.hpp
+++ b/src/engine/data/bounds.hpp
@@ -22,13 +22,13 @@ class Bounds
public:
explicit Bounds(const BoundsOptions &options);
- [[nodiscard]] uint32_t width() const noexcept;
+ [[nodiscard]] uint32_t get_width() const noexcept;
- void width(uint32_t width) noexcept;
+ void set_width(uint32_t width) noexcept;
- [[nodiscard]] uint32_t height() const noexcept;
+ [[nodiscard]] uint32_t get_height() const noexcept;
- void height(uint32_t height) noexcept;
+ void set_height(uint32_t height) noexcept;
[[nodiscard]] CoordsValidation validate_coords(const Vector2 &coords) const noexcept;