2023-12-18 17:06:11 +01:00
|
|
|
#ifndef GAME_SCENE_H
|
|
|
|
#define GAME_SCENE_H
|
|
|
|
|
|
|
|
#include "scene.h"
|
|
|
|
|
2023-12-19 15:01:48 +01:00
|
|
|
/*
|
2023-12-19 18:54:54 +01:00
|
|
|
|
2023-12-18 17:06:11 +01:00
|
|
|
#include "mesh_instance.h"
|
2023-12-19 15:57:36 +01:00
|
|
|
#include "sprite.h"
|
2023-12-18 17:06:11 +01:00
|
|
|
#include "texture.h"
|
2023-12-18 17:18:54 +01:00
|
|
|
#include "texture_material.h"
|
|
|
|
#include "tile_map.h"
|
2023-12-19 15:01:48 +01:00
|
|
|
*/
|
2023-12-18 17:06:11 +01:00
|
|
|
|
2023-12-19 15:57:36 +01:00
|
|
|
#include "colored_material.h"
|
|
|
|
#include "mesh.h"
|
2023-12-19 18:54:54 +01:00
|
|
|
#include "camera.h"
|
2023-12-19 21:42:52 +01:00
|
|
|
#include "texture.h"
|
|
|
|
#include "texture_material.h"
|
|
|
|
#include "camera.h"
|
|
|
|
#include "sprite.h"
|
|
|
|
|
2023-12-19 15:57:36 +01:00
|
|
|
|
2023-12-18 17:06:11 +01:00
|
|
|
class GameScene : public Scene {
|
|
|
|
public:
|
2023-12-19 15:57:36 +01:00
|
|
|
virtual void event();
|
|
|
|
virtual void update(float delta);
|
|
|
|
virtual void render();
|
2023-12-18 17:06:11 +01:00
|
|
|
|
2023-12-19 15:57:36 +01:00
|
|
|
GameScene();
|
|
|
|
~GameScene();
|
|
|
|
/*
|
|
|
|
bool left;
|
|
|
|
bool right;
|
|
|
|
bool up;
|
|
|
|
bool down;
|
2023-12-19 21:42:52 +01:00
|
|
|
*/
|
2023-12-19 15:57:36 +01:00
|
|
|
|
|
|
|
Texture *texture;
|
|
|
|
TextureMaterial *material;
|
2023-12-19 21:42:52 +01:00
|
|
|
//TileMap *tile_map;
|
2023-12-19 15:57:36 +01:00
|
|
|
Sprite *sprite;
|
|
|
|
|
2023-12-19 18:54:54 +01:00
|
|
|
Camera *camera;
|
2023-12-19 15:57:36 +01:00
|
|
|
Mesh *mesh;
|
2023-12-19 21:42:52 +01:00
|
|
|
ColoredMaterial *cmaterial;
|
2023-12-18 17:06:11 +01:00
|
|
|
};
|
|
|
|
|
2023-12-18 17:18:54 +01:00
|
|
|
#endif
|