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 | std::string node_; |
---|
25 | // other membervariables |
---|
26 | //Ogre::SceneNode *sceneNode_; |
---|
27 | bool valid; |
---|
28 | }; |
---|
29 | } |
---|
30 | |
---|
31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.