finishing up my reformatting of the source from November/December following the guidelines that were posted. some extra things I added: * Any empty virtual declarations were kept to one line. * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
29 lines
543 B
C++
29 lines
543 B
C++
#ifndef _GAME_STATE_STORY_H_
|
|
#define _GAME_STATE_STORY_H_
|
|
|
|
#include "GameState.h"
|
|
#include <JGui.h>
|
|
|
|
class StoryFlow;
|
|
class SimpleMenu;
|
|
|
|
class GameStateStory: public GameState, public JGuiListener
|
|
{
|
|
private:
|
|
StoryFlow * flow;
|
|
SimpleMenu * menu;
|
|
vector<string> stories;
|
|
void loadStoriesMenu(const char * root);
|
|
public:
|
|
GameStateStory(GameApp* parent);
|
|
~GameStateStory();
|
|
void Start();
|
|
void End();
|
|
void Update(float dt);
|
|
void Render();
|
|
void ButtonPressed(int controllerId, int controlId);
|
|
|
|
};
|
|
|
|
#endif
|