Rev | Line | |
---|
[515] | 1 | #ifndef _OBJECT_SCENENODE_H__ |
---|
| 2 | #define _OBJECT_SCENENODE_H__ |
---|
| 3 | |
---|
| 4 | #include "BaseObject.h" |
---|
| 5 | #include "../../tinyxml/tinyxml.h" |
---|
[590] | 6 | #include "network/Synchronisable.h" |
---|
[515] | 7 | |
---|
| 8 | namespace orxonox |
---|
| 9 | { |
---|
[590] | 10 | class SceneNode : public BaseObject, public network::Synchronisable |
---|
[515] | 11 | { |
---|
| 12 | public: |
---|
[590] | 13 | SceneNode(); |
---|
| 14 | virtual ~SceneNode(); |
---|
[515] | 15 | |
---|
| 16 | |
---|
[590] | 17 | void loadParams(TiXmlElement* xmlElem); |
---|
| 18 | bool create(); |
---|
| 19 | protected: |
---|
| 20 | void registerAllVariables(); |
---|
[515] | 21 | private: |
---|
[590] | 22 | float x_, y_, z_; |
---|
| 23 | float sx_, sy_, sz_; |
---|
| 24 | float yaw_, pitch_, roll_; |
---|
[599] | 25 | std::string name_; |
---|
| 26 | std::string nodeName_; |
---|
[515] | 27 | |
---|
| 28 | }; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.