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