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