forked from Green-Sky/tomato
start thinking about pasting files
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user