36 lines
553 B
C++
36 lines
553 B
C++
#ifndef SCENEMANAGER_HPP_
|
|
#define SCENEMANAGER_HPP_
|
|
|
|
#include "scene_list.hpp"
|
|
#include "base_scene.hpp"
|
|
|
|
#include "config_utility.hpp"
|
|
#include "surface_manager.hpp"
|
|
#include "network.hpp"
|
|
|
|
#include "SDL/SDL.h"
|
|
|
|
class SceneManager {
|
|
public:
|
|
//Public access members
|
|
SceneManager();
|
|
~SceneManager();
|
|
|
|
void Init();
|
|
void Proc();
|
|
void Quit();
|
|
|
|
private:
|
|
//Private access members
|
|
void LoadScene(SceneList sceneIndex);
|
|
void UnloadScene();
|
|
|
|
BaseScene* activeScene;
|
|
|
|
ConfigUtility configUtil;
|
|
SurfaceManager surfaceMgr;
|
|
TCPSocket socket;
|
|
};
|
|
|
|
#endif
|