Last change
on this file since 750 was
729,
checked in by rgrieder, 17 years ago
|
- fixed multiple template instantiation problem under windows
- removed some warnings by introducing explicit casts
|
File size:
606 bytes
|
Line | |
---|
1 | #ifndef _Model_H__ |
---|
2 | #define _Model_H__ |
---|
3 | |
---|
4 | #include "../OrxonoxPrereqs.h" |
---|
5 | |
---|
6 | #include "WorldEntity.h" |
---|
7 | #include "Mesh.h" |
---|
8 | |
---|
9 | class TiXmlElement; // Forward declaration |
---|
10 | |
---|
11 | namespace orxonox |
---|
12 | { |
---|
13 | |
---|
14 | class _OrxonoxExport Model : public WorldEntity |
---|
15 | { |
---|
16 | public: |
---|
17 | Model(); |
---|
18 | virtual ~Model(); |
---|
19 | virtual void loadParams(TiXmlElement* xmlElem); |
---|
20 | bool create(); |
---|
21 | |
---|
22 | private: |
---|
23 | std::string meshSrc_; |
---|
24 | Mesh mesh_; |
---|
25 | void registerAllVariables(); |
---|
26 | }; |
---|
27 | ExportClass(Model, Orxonox); |
---|
28 | } |
---|
29 | |
---|
30 | #endif /* _Model_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.