LPCGame
A Simple 2d Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
statemanager.h
1
#ifndef STATEMANAGER_H
2
#define STATEMANAGER_H
3
4
#include <vector>
5
#include <string>
6
#include <memory>
7
#include "external/json/json.h"
8
#include "state.h"
9
11
16
class
StateManager
{
17
public
:
21
static
void
InitIntro
();
26
static
void
RunState
(std::string name);
31
static
std::shared_ptr<State>
GetActiveState
();
36
static
void
LoadState
(std::string name);
41
static
void
SaveState
(std::string name);
46
static
void
ChangeScene
(std::string scene);
47
48
private
:
49
static
std::shared_ptr<State> mActiveState;
50
const
static
std::string mStatesDir;
51
};
52
53
#endif
Users
Will
Documents
Programs
LPCGame
src
core
statemanager.h
Generated on Tue Jan 29 2013 18:58:09 for LPCGame by
1.8.2