mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
16 lines
246 B
C++
16 lines
246 B
C++
#ifndef SCENE_H
|
|
#define SCENE_H
|
|
|
|
#include "sdl.inc.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 |