Last change
on this file since 1019 was
977,
checked in by scheusso, 17 years ago
|
more adjustments for synchronisation
|
File size:
690 bytes
|
Rev | Line | |
---|
[673] | 1 | #ifndef _Ambient_H__ |
---|
| 2 | #define _Ambient_H__ |
---|
[507] | 3 | |
---|
[708] | 4 | #include "../OrxonoxPrereqs.h" |
---|
| 5 | |
---|
[774] | 6 | #include "core/BaseObject.h" |
---|
[977] | 7 | #include "network/Synchronisable.h" |
---|
[507] | 8 | |
---|
| 9 | namespace orxonox |
---|
| 10 | { |
---|
[977] | 11 | class _OrxonoxExport Ambient : public BaseObject, network::Synchronisable |
---|
[507] | 12 | { |
---|
| 13 | public: |
---|
| 14 | Ambient(); |
---|
| 15 | virtual ~Ambient(); |
---|
| 16 | |
---|
| 17 | void loadParams(TiXmlElement* xmlElem); |
---|
[871] | 18 | virtual void XMLPort(Element& xmlelement, bool loading); |
---|
| 19 | void setAmbientLight(const ColourValue& colour); |
---|
[977] | 20 | bool create(); |
---|
| 21 | void registerAllVariables(); |
---|
[507] | 22 | |
---|
| 23 | private: |
---|
[977] | 24 | ColourValue ambientLight_; |
---|
[507] | 25 | |
---|
| 26 | }; |
---|
| 27 | } |
---|
| 28 | |
---|
[673] | 29 | #endif /* _Ambient_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.