lieu Class Reference

#include <lieu.h>

Inheritance diagram for lieu:
base

List of all members.

Public Member Functions

 lieu ()
 ~lieu ()
int init (int, coeur *, IXMLReader *)
int update ()
 Updating(should be call on each loop).
int close ()
 Close the base.
staticMeshaddStaticMesh (stringc, int)
observationMeshaddObservationMesh (stringc, int, int)
prendreMeshaddPrendreMesh (stringc, int, int, int)
animateMeshaddAnimateMesh (stringc, int, int, int, int, int)
staticMeshgetStaticMeshFromId (int id)
actionMeshgetActionMesh (int id)
actionMeshgetActionMesh (ISceneNode *)
bool OnEvent (const SEvent &event)

Private Attributes

std::vector< staticMesh * > * listStatic
std::vector< actionMesh * > * listAction

Detailed Description

Definition at line 2 of file lieu.h.


Constructor & Destructor Documentation

lieu::lieu (  ) 

Definition at line 3 of file lieu.cpp.

References listAction, and listStatic.

lieu::~lieu (  ) 

Definition at line 9 of file lieu.cpp.

References listAction, and listStatic.


Member Function Documentation

animateMesh * lieu::addAnimateMesh ( stringc  path,
int  i,
int  c,
int  ite,
int  b,
int  e 
)

Definition at line 209 of file lieu.cpp.

References coeur::addMesh(), staticMesh::getNode(), animateMesh::init(), listAction, base::log(), and base::mycore.

Referenced by init().

observationMesh * lieu::addObservationMesh ( stringc  path,
int  i,
int  c 
)

Definition at line 189 of file lieu.cpp.

References coeur::addMesh(), staticMesh::getNode(), observationMesh::init(), listAction, base::log(), and base::mycore.

Referenced by init().

prendreMesh * lieu::addPrendreMesh ( stringc  path,
int  i,
int  c,
int  ite 
)

Definition at line 199 of file lieu.cpp.

References coeur::addMesh(), staticMesh::getNode(), prendreMesh::init(), listAction, base::log(), and base::mycore.

Referenced by init().

staticMesh * lieu::addStaticMesh ( stringc  path,
int  i 
)

Definition at line 179 of file lieu.cpp.

References coeur::addMesh(), staticMesh::getNode(), staticMesh::init(), listStatic, base::log(), and base::mycore.

Referenced by init().

int lieu::close (  )  [virtual]

Close the base.

Close the log and put base::initialize to false

Returns:
logger::closeFile()

Reimplemented from base.

Definition at line 159 of file lieu.cpp.

References listAction, listStatic, and base::log().

Referenced by coeur::close(), and coeur::loadLieu().

actionMesh * lieu::getActionMesh ( ISceneNode *  node  ) 

Definition at line 239 of file lieu.cpp.

References listAction.

actionMesh * lieu::getActionMesh ( int  id  ) 

Definition at line 229 of file lieu.cpp.

References listAction.

Referenced by coeur::getActionMesh().

staticMesh * lieu::getStaticMeshFromId ( int  id  ) 

Definition at line 219 of file lieu.cpp.

References listStatic.

int lieu::init ( int  i,
coeur c,
IXMLReader *  xmlLieu 
)
bool lieu::OnEvent ( const SEvent &  event  ) 

Definition at line 249 of file lieu.cpp.

int lieu::update (  )  [virtual]

Updating(should be call on each loop).

Does nothing

Returns:
Always 0

Reimplemented from base.

Definition at line 154 of file lieu.cpp.


Member Data Documentation

std::vector<actionMesh*>* lieu::listAction [private]
std::vector<staticMesh*>* lieu::listStatic [private]

Definition at line 23 of file lieu.h.

Referenced by addStaticMesh(), close(), getStaticMeshFromId(), init(), lieu(), and ~lieu().


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

Generated on Wed Sep 9 18:20:16 2009 for The Merry Turnip by  doxygen 1.6.1