MVOnPlaceObject Class Reference

Superclass for all OnPlaceObject's. More...

#include <MVOnPlaceObject.h>

Inheritance diagram for MVOnPlaceObject:

MVPlaceObject Object MVFlame MVFood MVHole MVMaterial MVMovingOnPlaceObject MVNest MVWallSide MVWater Wall

List of all members.

Public Member Functions

 MVOnPlaceObject (const std::string &meshFilename, const std::string &textureFilename, const std::string &shaderFilename)
 Constructor with initial values.
virtual string toString () const
 Returns a textual representation.
virtual string className () const
 Returns the class name of the object.
virtual enum classId classId () const
 Returns the class id of the object.


Detailed Description

Superclass for all OnPlaceObject's.

All objects which can be put onto a place (and not between places) inherit from this superclass.


Constructor & Destructor Documentation

MVOnPlaceObject::MVOnPlaceObject ( const std::string &  meshFilename,
const std::string &  textureFilename,
const std::string &  shaderFilename 
)

Constructor with initial values.

Constructor with initial values.


Member Function Documentation

string MVOnPlaceObject::toString (  )  const [virtual]

Returns a textual representation.

Returns:
a string descriping the run-time object

Reimplemented from MVPlaceObject.

Reimplemented in MVFirefly, MVFlame, MVFood, MVHole, MVMaterial, MVMaterialCrystal, MVMaterialGrass, MVMaterialWood, MVMovingOnPlaceObject, MVNest, MVWallSide, MVWater, and Wall.

string MVOnPlaceObject::className (  )  const [virtual]

Returns the class name of the object.

Returns:
a string with the name of the object's class

Reimplemented from MVPlaceObject.

Reimplemented in MVFirefly, MVFlame, MVFood, MVHole, MVMaterial, MVMaterialCrystal, MVMaterialGrass, MVMaterialWood, MVMovingOnPlaceObject, MVNest, MVWallSide, MVWater, and Wall.

enum classId MVOnPlaceObject::classId (  )  const [virtual]

Returns the class id of the object.

Returns:
an id of the object's class

Reimplemented from MVPlaceObject.

Reimplemented in MVFirefly, MVFlame, MVFood, MVHole, MVMaterial, MVMaterialCrystal, MVMaterialGrass, MVMaterialWood, MVMovingOnPlaceObject, MVNest, MVWallSide, MVWater, and Wall.


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

Generated on Mon Jul 7 13:30:34 2008 for Firefly by  doxygen 1.5.6