RPG/include/Vec2.h

24 lines
310 B
C
Raw Normal View History

2024-02-22 00:32:57 -08:00
#pragma once
#include <cstddef>
class Vec2
{
public:
size_t x;
size_t y;
Vec2();
Vec2(size_t scalar);
Vec2(size_t x, size_t y);
Vec2(Vec2&& vec) noexcept = default;
Vec2(const Vec2& vec) = default;
Vec2& operator=(Vec2&& vec) noexcept = default;
Vec2& operator=(const Vec2& vec) = default;
};