diff options
Diffstat (limited to 'main/floormat-main-impl.cpp')
-rw-r--r-- | main/floormat-main-impl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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; } |