#include <global.h>
Public Member Functions | |
Resources::Root * | getRoot () const |
Resources::Level * | getLevel () const |
Current * | getCurrent () const |
bool | isFastForward () const |
uint | getMillisecondsPerGameloop () const |
Resources::GlobalItemTemplate * | getApril () const |
Resources::KnowledgeSet * | getInventory () const |
void | setRoot (Resources::Root *root) |
void | setLevel (Resources::Level *level) |
void | setCurrent (Current *current) |
void | setFastForward () |
void | setNormalSpeed () |
void | setMillisecondsPerGameloop (uint millisecondsPerGameloop) |
void | setApril (Resources::GlobalItemTemplate *april) |
void | setInventory (Resources::KnowledgeSet *inventory) |
int32 | getCurrentChapter () |
bool | hasInventoryItem (const Common::String &itemName) const |
void | setCurrentChapter (int32 value) |
Common::String | getCharacterName (int32 id) |
Global resources holder object
int32 Stark::Global::getCurrentChapter | ( | ) |
Retrieve the current chapter number from the global resource tree
bool Stark::Global::hasInventoryItem | ( | const Common::String & | itemName | ) | const |
Check if the player has an inventory item using its name
void Stark::Global::setCurrentChapter | ( | int32 | value | ) |
Change the current chapter
Common::String Stark::Global::getCharacterName | ( | int32 | id | ) |
Get the name of a character by its id