![]() |
AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
Manages application global resources. More...
#include <CzResources.h>
Public Member Functions | |
CzXomlResourceManager * | getResourceManager () |
CzXomlVariableManager * | getVariableManager () |
CzActionsManager * | getActionsManager () |
CzAnimTimelinesManager * | getTimelinesManager () |
CzTimersManager * | getTimersManager () |
CzProgramManager * | getProgramManager () |
IzScriptEngine * | getScriptEngine (CzScript::eScriptType type=CzScript::ST_None) |
Returns the script engine that is being used by the global resources manager. | |
void | Init (IzXomlResource *parent) |
Initialises the global resources system. | |
void | Release () |
Releases the global resources system, releasing all global resources. | |
void | Update (float dt) |
Update the resource manager. | |
Protected Attributes | |
CzXomlResourceManager * | ResourceManager |
Manages all types of resources. | |
CzXomlVariableManager * | VariableManager |
Manages XOML variables. | |
CzActionsManager * | ActionsManager |
Manages actions. | |
CzAnimTimelinesManager * | TimelinesManager |
Manages timelines. | |
CzTimersManager * | TimersManager |
Manages timers. | |
CzProgramManager * | ProgramManager |
Manages a collection of XOML programs. | |
IzScriptEngine * | ScriptEngine |
manages a script |
Manages application global resources.
Represents a collection of resources that are meant to be accessible across the entire game / app and for the life time of the game / app. A CzGlobalResources contains a number of manager sthat enable it to manage a number of different types of resources include:
The CzGlobalResources class is a singleton that is available via the CZ_GLOBAL_RESOURCES macros.
CzActionsManager* CzGlobalResources::getActionsManager | ( | ) | [inline] |
CzProgramManager* CzGlobalResources::getProgramManager | ( | ) | [inline] |
CzXomlResourceManager* CzGlobalResources::getResourceManager | ( | ) | [inline] |
IzScriptEngine * CzGlobalResources::getScriptEngine | ( | CzScript::eScriptType | type = CzScript::ST_None | ) |
Returns the script engine that is being used by the global resources manager.
CzAnimTimelinesManager* CzGlobalResources::getTimelinesManager | ( | ) | [inline] |
CzTimersManager* CzGlobalResources::getTimersManager | ( | ) | [inline] |
CzXomlVariableManager* CzGlobalResources::getVariableManager | ( | ) | [inline] |
void CzGlobalResources::Init | ( | IzXomlResource * | parent | ) |
Initialises the global resources system.
void CzGlobalResources::Release | ( | ) |
Releases the global resources system, releasing all global resources.
void CzGlobalResources::Update | ( | float | dt | ) |
Update the resource manager.
CzActionsManager* CzGlobalResources::ActionsManager [protected] |
Manages actions.
CzProgramManager* CzGlobalResources::ProgramManager [protected] |
Manages a collection of XOML programs.
CzXomlResourceManager* CzGlobalResources::ResourceManager [protected] |
Manages all types of resources.
IzScriptEngine* CzGlobalResources::ScriptEngine [protected] |
manages a script
Manages timelines.
CzTimersManager* CzGlobalResources::TimersManager [protected] |
Manages timers.
CzXomlVariableManager* CzGlobalResources::VariableManager [protected] |
Manages XOML variables.