#include "vector2.hpp" Vector2::Vector2(const Vector2Options &options) : _x(options.x), _y(options.y) {} uint32_t Vector2::get_x() const noexcept { return _x; } void Vector2::set_x(uint32_t x) noexcept { _x = x; } uint32_t Vector2::get_y() const noexcept { return _y; } void Vector2::set_y(uint32_t y) noexcept { _y = y; } const Vector2 &Vector2::operator+=(const Vector2 &vector2) noexcept { _x += vector2._x; _y += vector2._y; return *this; } const Vector2 &Vector2::operator-=(const Vector2 &vector2) noexcept { _x -= vector2._x; _y -= vector2._y; return *this; }