observationMesh Class Reference

Class containing a mesh who can be looked at, derive from actionMesh. More...

#include <actionMesh.h>

Inheritance diagram for observationMesh:
actionMesh staticMesh animateMesh persoMesh prendreMesh

List of all members.

Public Member Functions

 observationMesh (ACTION_TYPE=ACTION_OBSERVER)
 Constructor.
 ~observationMesh ()
 Destructor.
virtual int init (int, IAnimatedMeshSceneNode *, int)
 Init the mesh.

Detailed Description

Class containing a mesh who can be looked at, derive from actionMesh.

It's really like an actionMesh, the only difference is that it can be looked at. The action of looking at should be launched when pressing mouse right button

Definition at line 83 of file actionMesh.h.


Constructor & Destructor Documentation

observationMesh::observationMesh ( ACTION_TYPE  Action = ACTION_OBSERVER  ) 

Constructor.

Construct an observationMesh and set actionMesh::actionMesh() with parameter Action

Parameters:
Action The action type

Definition at line 86 of file actionMesh.cpp.

References actionMesh::color.

observationMesh::~observationMesh (  ) 

Destructor.

Definition at line 91 of file actionMesh.cpp.


Member Function Documentation

int observationMesh::init ( int  Id,
IAnimatedMeshSceneNode *  Node,
int  Combi 
) [virtual]

Init the mesh.

Call the actionMesh::init

Parameters:
Id Id of mesh
Node The pointer to the irrlicht mesh corresponding
Combi Item to combine with
Returns:
staticMesh::init result

Reimplemented from actionMesh.

Definition at line 101 of file actionMesh.cpp.

Referenced by lieu::addObservationMesh().


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