#include <ScriptExposer.hpp>
Static Public Member Functions | |
static void | exposeRendererEnvironment (ScriptManager *pScriptManager) |
Expose all renderer-related functionality to the Squirrel virtual machine. | |
static void | exposeInputEnvironment (ScriptManager *pScriptManager, InputCore::ActionManager *pActionManage) |
Expose all input-related functionality to the Squirrel virtual machine. | |
static void | exposeGameEnvironment (ScriptManager *pScriptManager, Game *pGame, SceneManager *pSceneManager) |
Expose all game-related functionality to the Squirrel virtual machine. | |
Private Member Functions | |
ScriptExposer () | |
Constructor. |
It is responsible of exposing all classes functionality to the Squirrel virtual machine.
syBR::Game::ScriptExposer::ScriptExposer | ( | ) | [inline, private] |
Constructor.
Only purpose of this constructor is to prevent instancing it.
void syBR::Game::ScriptExposer::exposeRendererEnvironment | ( | ScriptManager * | pScriptManager | ) | [static] |
Expose all renderer-related functionality to the Squirrel virtual machine.
pScriptManager | Script manager to be used as the singleton responsible of script management |
void syBR::Game::ScriptExposer::exposeInputEnvironment | ( | ScriptManager * | pScriptManager, | |
InputCore::ActionManager * | pActionManager | |||
) | [static] |
Expose all input-related functionality to the Squirrel virtual machine.
pScriptManager | Script manager to be used as the singleton responsible of script management | |
pActionManager | Action manager to be used as the singleton responsible of action management |
void syBR::Game::ScriptExposer::exposeGameEnvironment | ( | ScriptManager * | pScriptManager, | |
Game * | pGame, | |||
SceneManager * | pSceneManager | |||
) | [static] |
Expose all game-related functionality to the Squirrel virtual machine.
Copyright © 2008 by Sebastien Frippiat
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008