#ifndef GAME_SCENE_H #define GAME_SCENE_H #include "sfw.h" class GameScene : public Scene { SFW_OBJECT(GameScene, Scene); public: virtual void input_event(const Ref &event); virtual void update(float delta); virtual void render(); virtual void render_immediate(); virtual void render_obj(); GameScene(); ~GameScene(); bool left; bool right; bool up; bool down; Ref image; Ref texture; Ref material; Ref _font; Sprite *_font_test_sprite; Ref _font_test_mat; Ref _font_test_mesh; MeshInstance2D *_font_test_mi; Camera2D *camera_2d; TileMap *tile_map; Sprite *sprite; Camera3D *camera; Ref mesh; MeshInstance3D *mi; MeshInstance3D *mi2; Ref color_material; Text2D *_text_2d; //ColoredMaterial *cmaterial; }; #endif