TazGraph Project v0.1.0
Loading...
Searching...
No Matches
SceneList.h
1#pragma once
2
3#include "../../pch.h"
4
5#include "./IScene.h"
6
7class AppInterface;
8
9class SceneList {
10public:
12 ~SceneList();
13
14 IScene* moveNext();
15 IScene* movePrevious();
16
17 void setScene(int nextScene);
18 void addScene(IScene* newScene);
19 void addScene(std::string managerName, IScene* newScene);
20
21 void destroy();
22
23 IScene* getCurrent();
24
25protected:
26 AppInterface* _app = nullptr;
27 std::vector<IScene*> _scenes;
28 int _currentSceneIndex = -1;
29};
Definition AppInterface.h:20
Definition IScene.h:25
Definition SceneList.h:9