sfw/game_scene.h

43 lines
621 B
C
Raw Normal View History

#ifndef GAME_SCENE_H
#define GAME_SCENE_H
#include "scene.h"
2023-12-19 15:01:48 +01:00
/*
#include "camera.h"
#include "mesh_instance.h"
2023-12-19 15:57:36 +01:00
#include "sprite.h"
#include "texture.h"
#include "texture_material.h"
#include "tile_map.h"
2023-12-19 15:01:48 +01:00
*/
2023-12-19 15:57:36 +01:00
#include "colored_material.h"
#include "mesh.h"
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-19 15:57:36 +01:00
GameScene();
~GameScene();
/*
bool left;
bool right;
bool up;
bool down;
Camera *camera;
Texture *texture;
TextureMaterial *material;
TileMap *tile_map;
Sprite *sprite;
*/
Mesh *mesh;
ColoredMaterial *material;
};
#endif