24 lines
397 B
C++
24 lines
397 B
C++
#ifndef TANKS_LEVEL_HPP
|
|
#define TANKS_LEVEL_HPP
|
|
|
|
#include <cstdint>
|
|
#include <entt/entt.hpp>
|
|
#include <glm/glm.hpp>
|
|
|
|
namespace trb::game {
|
|
class level {
|
|
private:
|
|
constexpr static auto WIDTH = 22;
|
|
constexpr static auto HEIGHT = 16;
|
|
|
|
entt::basic_registry<std::uint32_t> entities;
|
|
|
|
public:
|
|
level();
|
|
|
|
[[nodiscard]] glm::uvec2 get_bounds() const noexcept;
|
|
};
|
|
} // namespace trb::game
|
|
|
|
#endif
|