syBR::Game::ScriptExposer Class Reference

Script exposer class. More...

#include <ScriptExposer.hpp>

List of all members.

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.


Detailed Description

Script exposer class.

It is responsible of exposing all classes functionality to the Squirrel virtual machine.


Constructor & Destructor Documentation

syBR::Game::ScriptExposer::ScriptExposer (  )  [inline, private]

Constructor.

Only purpose of this constructor is to prevent instancing it.


Member Function Documentation

void syBR::Game::ScriptExposer::exposeRendererEnvironment ( ScriptManager pScriptManager  )  [static]

Expose all renderer-related functionality to the Squirrel virtual machine.

Parameters:
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.

Parameters:
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.

Parameters:
pScriptManager Script manager to be used as the singleton responsible of script management
pGame Game to be used as the singleton responsible of the game
pSceneManager Scene manager to be used as the singleton responsible of scene management


The documentation for this class was generated from the following files:

Copyright © 2008 by Sebastien Frippiat
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Last modified Tue Dec 30 17:57:34 2008