source:
code/branches/network/src/orxonox/objects/Skybox.h
@
1295
| Last change on this file since 1295 was 977, checked in by scheusso, 18 years ago | |
|---|---|
| File size: 797 bytes | |
| Rev | Line | |
|---|---|---|
| [673] | 1 | #ifndef _Skybox_H__ |
| 2 | #define _Skybox_H__ | |
| [507] | 3 | |
| [708] | 4 | #include "../OrxonoxPrereqs.h" |
| 5 | ||
| [774] | 6 | #include "core/BaseObject.h" |
| [974] | 7 | #include "network/Synchronisable.h" |
| [507] | 8 | |
| [708] | 9 | class TiXmlElement; // Forward declaration |
| 10 | ||
| [507] | 11 | namespace orxonox |
| 12 | { | |
| [974] | 13 | class _OrxonoxExport Skybox : public BaseObject, public network::Synchronisable |
| [507] | 14 | { |
| 15 | public: | |
| 16 | Skybox(); | |
| 17 | virtual ~Skybox(); | |
| 18 | ||
| 19 | void loadParams(TiXmlElement* xmlElem); | |
| [871] | 20 | virtual void XMLPort(Element& xmlelement, bool loading); |
| 21 | void setSkybox(const std::string& skyboxname); | |
| [974] | 22 | |
| 23 | bool create(); | |
| 24 | void registerAllVariables(); | |
| [977] | 25 | void setSkyboxSrc(std::string src); |
| [507] | 26 | |
| 27 | private: | |
| [974] | 28 | std::string skyboxSrc_; |
| [507] | 29 | |
| [871] | 30 | |
| [507] | 31 | }; |
| 32 | } | |
| 33 | ||
| [673] | 34 | #endif /* _Skybox_H__ */ |
Note: See TracBrowser
for help on using the repository browser.










