Last change
on this file since 637 was
630,
checked in by scheusso, 17 years ago
|
made Model and WorldEntity synchronisable
|
File size:
486 bytes
|
Line | |
---|
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(); |
---|
14 | ~Model(); |
---|
15 | virtual void loadParams(TiXmlElement* xmlElem); |
---|
16 | bool create(); |
---|
17 | |
---|
18 | private: |
---|
19 | std::string meshSrc_; |
---|
20 | Mesh mesh_; |
---|
21 | void registerAllVariables(); |
---|
22 | }; |
---|
23 | } |
---|
24 | |
---|
25 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.