rcpp_framework/rendering/opengl/scene.h

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