Last change
on this file since 673 was
673,
checked in by rgrieder, 16 years ago
|
- deleted obsolete classes: BaseEntity, Entity, Light and SceneNode (please complain if not agreed)
- improved include guard naming consistency
|
File size:
511 bytes
|
Rev | Line | |
---|
[576] | 1 | #ifndef _Model_H__ |
---|
| 2 | #define _Model_H__ |
---|
| 3 | |
---|
| 4 | #include "WorldEntity.h" |
---|
| 5 | #include "Mesh.h" |
---|
| 6 | #include "../../tinyxml/tinyxml.h" |
---|
| 7 | |
---|
| 8 | namespace orxonox |
---|
| 9 | { |
---|
| 10 | class Model : public WorldEntity |
---|
| 11 | { |
---|
| 12 | public: |
---|
| 13 | Model(); |
---|
[646] | 14 | virtual ~Model(); |
---|
[576] | 15 | virtual void loadParams(TiXmlElement* xmlElem); |
---|
[630] | 16 | bool create(); |
---|
[576] | 17 | |
---|
| 18 | private: |
---|
[630] | 19 | std::string meshSrc_; |
---|
[576] | 20 | Mesh mesh_; |
---|
[630] | 21 | void registerAllVariables(); |
---|
[576] | 22 | }; |
---|
| 23 | } |
---|
| 24 | |
---|
[673] | 25 | #endif /* _Model_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.