Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 691 was 673, checked in by rgrieder, 17 years ago
  • deleted obsolete classes: BaseEntity, Entity, Light and SceneNode (please complain if not agreed)
  • improved include guard naming consistency
File size: 588 bytes
Line 
1#ifndef _Mesh_H__
2#define _Mesh_H__
3
4#include <string>
5
6#include "OgreEntity.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 /* _Mesh_H__ */
Note: See TracBrowser for help on using the repository browser.