[ADD] The scene switching works now, the only thing to do is controling the scenes with the keys!
This commit is contained in:
@@ -3,16 +3,19 @@
|
||||
|
||||
namespace scene
|
||||
{
|
||||
|
||||
class In_Game_Scene : public scene::Scene
|
||||
{
|
||||
private:
|
||||
|
||||
scene::Scenes return_value = scene::Scenes::INGAME;
|
||||
|
||||
public:
|
||||
virtual void start() override;
|
||||
virtual void render() override;
|
||||
virtual void update() override;
|
||||
virtual void onKey(int key, int scancode, int action, int mods) override;
|
||||
In_Game_Scene();
|
||||
|
||||
Scenes start(GLFWwindow* window) override;
|
||||
void render() override;
|
||||
void update(GLFWwindow* window) override;
|
||||
void onKey(GLFWwindow* window, int key, int scancode, int action, int mods) override;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user