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