Last change
on this file since 583 was
568,
checked in by scheusso, 17 years ago
|
added capability for presentation mode
|
File size:
598 bytes
|
Line | |
---|
1 | #ifndef _OBJECT_ENTITY_H__ |
---|
2 | #define _OBJECT_ENTITY_H__ |
---|
3 | |
---|
4 | #include "WorldEntity.h" |
---|
5 | #include "../../tinyxml/tinyxml.h" |
---|
6 | |
---|
7 | namespace orxonox |
---|
8 | { |
---|
9 | class BaseEntity : public WorldEntity |
---|
10 | { |
---|
11 | public: |
---|
12 | BaseEntity(); |
---|
13 | virtual ~BaseEntity(); |
---|
14 | |
---|
15 | |
---|
16 | void loadParams(TiXmlElement* xmlElem); |
---|
17 | bool create(); |
---|
18 | protected: |
---|
19 | void registerAllVariables(); |
---|
20 | private: |
---|
21 | // membervariables to be synchronised |
---|
22 | std::string name_; |
---|
23 | std::string mesh_; |
---|
24 | // other membervariables |
---|
25 | Ogre::SceneNode *sceneNode_; |
---|
26 | bool valid; |
---|
27 | }; |
---|
28 | } |
---|
29 | |
---|
30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.