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