Artificial Intelligence
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Static Private Attributes

GamePipe::GenerateScene Class Reference

#include <GenerateScene.h>

List of all members.

Public Member Functions

 GenerateScene ()
 ~GenerateScene ()

Static Public Member Functions

static bool getScene (Ogre::String fileName)
static GamePipe::GridWorldgetSceneWithGridWorld (Ogre::String fileName)
static GameObject * createCharacter (int, Ogre::String="")
static void createOffsetCameraNode (Ogre::SceneNode *, Ogre::SceneNode *)

Static Private Member Functions

static Ogre::String getUniqueId ()

Static Private Attributes

static TextFileManager * m_tfm
 Text file manager which is used to load in map file. /summary>
static int m_uniqueId = 0

Constructor & Destructor Documentation

GamePipe::GenerateScene::GenerateScene ( )
GamePipe::GenerateScene::~GenerateScene ( )

summary> generate the scene according to the file /summary> returns>if the scene is generated successfully, then return true


Member Function Documentation

GameObject * GamePipe::GenerateScene::createCharacter ( int  character,
Ogre::String  luaFile = "" 
) [static]
void GamePipe::GenerateScene::createOffsetCameraNode ( Ogre::SceneNode *  offsetNode,
Ogre::SceneNode *  parentNode 
) [static]
bool GamePipe::GenerateScene::getScene ( Ogre::String  fileName) [static]

summary> generate the scene according to the file and return the pointer to gridWorld /summary> returns>if the scene is generated successfully, then return the pointer to the gridWorld which represents the scene

GamePipe::GridWorld * GamePipe::GenerateScene::getSceneWithGridWorld ( Ogre::String  fileName) [static]
Ogre::String GamePipe::GenerateScene::getUniqueId ( ) [static, private]

Member Data Documentation

TextFileManager* GamePipe::GenerateScene::m_tfm [static, private]

Text file manager which is used to load in map file. /summary>

int GamePipe::GenerateScene::m_uniqueId = 0 [static, private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines