Refactored Attract Mode into its own class.

This commit is contained in:
emb
2015-01-01 17:26:02 -06:00
parent 1a9fdabd63
commit b3ed451e4f
5 changed files with 78 additions and 27 deletions

View File

@@ -5,6 +5,7 @@
#include "Collection/Item.h"
#include "Control/UserInput.h"
#include "Execute/AttractMode.h"
#include "Graphics/FontCache.h"
#include "Video/IVideo.h"
#include <SDL2/SDL.h>
@@ -54,11 +55,10 @@ private:
UserInput Input;
std::list<Page *> PageChain;
float KeyInputDisable;
float InactiveKeyTime;
bool AttractMode;
float CurrentTime;
Item *NextPageItem;
FontCache FC;
IVideo *VideoInst;
AttractMode Attract;
};