start thinking about pasting files

This commit is contained in:
2023-07-30 15:10:26 +02:00
parent aff239377d
commit 42b3866753
8 changed files with 60 additions and 1 deletions

View File

@ -1,8 +1,13 @@
#pragma once
#include <SDL3/SDL.h>
struct Screen {
virtual ~Screen(void) = default;
// return true if handled
virtual bool handleEvent(SDL_Event& e) { return false; }
// return nullptr if not next
// sets bool quit to true if exit
virtual Screen* poll(bool& quit) = 0;