mirror of
https://github.com/Relintai/sfw.git
synced 2025-02-19 23:14:19 +01:00
17 lines
259 B
C++
17 lines
259 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 // APPLICATION_H
|