diff options
Diffstat (limited to 'floormat/app.hpp')
-rw-r--r-- | floormat/app.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/floormat/app.hpp b/floormat/app.hpp index 63c8fb81..50dca6f9 100644 --- a/floormat/app.hpp +++ b/floormat/app.hpp @@ -18,6 +18,8 @@ struct chunk; struct floormat_app { + struct z_bounds final { int8_t min, max; }; + explicit floormat_app() noexcept; virtual ~floormat_app() noexcept; @@ -29,6 +31,7 @@ struct floormat_app virtual void update(float dt) = 0; virtual void maybe_initialize_chunk(const chunk_coords_& pos, chunk& c) = 0; virtual void draw() = 0; + virtual z_bounds get_z_bounds() = 0; virtual void on_mouse_move(const mouse_move_event& event) noexcept = 0; virtual void on_mouse_up_down(const mouse_button_event& event, bool is_down) noexcept = 0; |