From 4341fb36784a9da7b519d81d78e8df983816d791 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 23 Oct 2022 20:21:11 +0200 Subject: a --- main/floormat-main-impl.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'main/floormat-main-impl.cpp') diff --git a/main/floormat-main-impl.cpp b/main/floormat-main-impl.cpp index 61dc40b4..0945daf4 100644 --- a/main/floormat-main-impl.cpp +++ b/main/floormat-main-impl.cpp @@ -207,6 +207,16 @@ void main_impl::quit(int status) Platform::Sdl2Application::exit(status); } +struct world& main_impl::world() noexcept +{ + return _world; +} + +SDL_Window* main_impl::window() noexcept +{ + return Sdl2Application::window(); +} + Vector2i main_impl::window_size() const noexcept { return windowSize(); } tile_shader& main_impl::shader() noexcept { return _shader; } -- cgit v1.2.3