prendreMesh Class Reference

Class containing a mesh who can be taken, derive from observationMesh. More...

#include <actionMesh.h>

Inheritance diagram for prendreMesh:
observationMesh actionMesh staticMesh

List of all members.

Public Member Functions

 prendreMesh (ACTION_TYPE=ACTION_PRENDRE)
 Constructor.
 ~prendreMesh ()
 Destructor.
virtual int init (int, IAnimatedMeshSceneNode *, int, int)
 Init the mesh.
int getItem ()
 Return the item id corresponding to the mesh.

Private Attributes

int it
 Item id corresponding to the mesh.

Detailed Description

Class containing a mesh who can be taken, derive from observationMesh.

This mesh is linked to the item of id prendreMesh::it, when action launched, the user should get the item. And since it's derive from an observationMesh it can be looked at too.

Definition at line 101 of file actionMesh.h.


Constructor & Destructor Documentation

prendreMesh::prendreMesh ( ACTION_TYPE  act = ACTION_PRENDRE  ) 

Constructor.

Construct a prendreMesh and call observationMesh::observationMesh() with parameter Action

Parameters:
act The action type

Definition at line 117 of file actionMesh.cpp.

References actionMesh::color.

prendreMesh::~prendreMesh (  ) 

Destructor.

Definition at line 122 of file actionMesh.cpp.


Member Function Documentation

int prendreMesh::getItem (  ) 

Return the item id corresponding to the mesh.

Definition at line 139 of file actionMesh.cpp.

References it.

Referenced by BOOST_PYTHON_MODULE().

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

Init the mesh.

Call the actionMesh::init, set prendreMesh::it to ite

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

Definition at line 133 of file actionMesh.cpp.

References it.

Referenced by lieu::addPrendreMesh().


Member Data Documentation

int prendreMesh::it [private]

Item id corresponding to the mesh.

Definition at line 117 of file actionMesh.h.

Referenced by getItem(), and init().


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