mirror of
https://github.com/Relintai/rpi_player.git
synced 2025-02-23 15:54:18 +01:00
16 lines
241 B
C
16 lines
241 B
C
|
#ifndef SCENE_H
|
||
|
#define SCENE_H
|
||
|
|
||
|
#include <SDL.h>
|
||
|
|
||
|
class Scene {
|
||
|
public:
|
||
|
virtual void event(const SDL_Event &ev) = 0;
|
||
|
virtual void update(float delta) = 0;
|
||
|
virtual void render() = 0;
|
||
|
|
||
|
Scene();
|
||
|
virtual ~Scene();
|
||
|
};
|
||
|
|
||
|
#endif
|