Rev | Line | |
---|
[566] | 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(); |
---|
[568] | 18 | protected: |
---|
| 19 | void registerAllVariables(); |
---|
[566] | 20 | private: |
---|
| 21 | // membervariables to be synchronised |
---|
| 22 | std::string name_; |
---|
| 23 | std::string mesh_; |
---|
[590] | 24 | std::string node_; |
---|
[566] | 25 | // other membervariables |
---|
[590] | 26 | //Ogre::SceneNode *sceneNode_; |
---|
[566] | 27 | bool valid; |
---|
| 28 | }; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.