Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/objects/Mesh.h @ 637

Last change on this file since 637 was 589, checked in by landauf, 17 years ago

finally found the damn fkng bug.

File size: 572 bytes
Line 
1#include <string>
2
3#include "OgreEntity.h"
4
5#ifndef _Mesh_H__
6#define _Mesh_H__
7
8namespace orxonox
9{
10    class Mesh
11    {
12        public:
13            Mesh();
14            ~Mesh();
15            void setMesh(const std::string& file);
16
17            inline Ogre::Entity* getEntity()
18                { return this->entity_; }
19
20            inline const std::string& getName() const
21                { return this->entity_->getName(); }
22
23        private:
24            static unsigned int meshCounter_s;
25            Ogre::Entity* entity_;
26    };
27}
28
29#endif
Note: See TracBrowser for help on using the repository browser.