mirror of
https://github.com/Relintai/rpi_player.git
synced 2024-11-23 15:27:42 +01:00
42 lines
702 B
C++
42 lines
702 B
C++
#ifndef MAIN_SCENE_H
|
|
#define MAIN_SCENE_H
|
|
|
|
#include "scene.h"
|
|
|
|
#include "renderer/image.h"
|
|
#include "renderer/texture.h"
|
|
#include "renderer/sprite.h"
|
|
#include "renderer/camera.h"
|
|
#include "renderer/button.h"
|
|
#include "renderer/true_type_font.h"
|
|
#include "renderer/text_image.h"
|
|
#include "renderer/text_sprite.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;
|
|
TrueTypeFont *_font;
|
|
Image *_ii;
|
|
Texture *_iit;
|
|
Texture *_iit2;
|
|
Sprite *_s;
|
|
Sprite *_s2;
|
|
TextImage *_teximg;
|
|
|
|
TextSprite *_ts;
|
|
|
|
Button *b1;
|
|
Button *b2;
|
|
Button *b3;
|
|
};
|
|
|
|
#endif |