#include <engine.h>
Public Member Functions | |
| void | clear () |
| void | push (const Common::String &target, const int slot=-1) |
| bool | pop (Common::String &target, int &slot) |
| bool | empty () |
Additional Inherited Members | |
Static Public Member Functions inherited from Common::Singleton< ChainedGamesManager > | |
| static bool | hasInstance () |
| static ChainedGamesManager & | instance () |
| static void | destroy () |
Protected Types inherited from Common::Singleton< ChainedGamesManager > | |
| typedef ChainedGamesManager | SingletonBaseType |
Static Protected Attributes inherited from Common::Singleton< ChainedGamesManager > | |
| static ChainedGamesManager * | _singleton |
Singleton class which manages chained games.
A chained game is one that starts automatically, optionally loading a saved game, instead of returning to the launcher.
| void ChainedGamesManager::clear | ( | ) |
Clear the chained games manager of any games.
| void ChainedGamesManager::push | ( | const Common::String & | target, |
| const int | slot = -1 |
||
| ) |
Load a game into a slot in the chained games manager.
| bool ChainedGamesManager::pop | ( | Common::String & | target, |
| int & | slot | ||
| ) |
Pop the last game loaded into the chained games manager.
|
inline |
Returns true if the chained games manager has no elements in the queue.