mirror of
https://github.com/Relintai/programming_tutorials.git
synced 2025-04-29 22:08:00 +02:00
26 lines
375 B
C++
26 lines
375 B
C++
#ifndef MAIN_SCENE_H
|
|
#define MAIN_SCENE_H
|
|
|
|
#include "scene.h"
|
|
|
|
#include "image.h"
|
|
#include "texture.h"
|
|
#include "sprite.h"
|
|
#include "camera.h"
|
|
|
|
class MainScene : public Scene {
|
|
public:
|
|
void event(const SDL_Event &ev);
|
|
void update(float delta);
|
|
void render();
|
|
|
|
MainScene();
|
|
~MainScene();
|
|
|
|
Camera *_camera;
|
|
Image *_image;
|
|
Texture *_texture;
|
|
Sprite *_sprite;
|
|
};
|
|
|
|
#endif |