| Last change
                  on this file since 2731 was
                  164,
                  checked in by nicolasc, 18 years ago | 
        
          | 
Brute force megre of xml branch
 | 
        | File size:
            403 bytes | 
      
      
        
  | Line |  | 
|---|
| 1 | #include <vector> | 
|---|
| 2 |  | 
|---|
| 3 | #include "../xml/xmlParser.h" | 
|---|
| 4 | #include "Light.h" | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef __MODULE_LIGHTMANAGER__ | 
|---|
| 7 | #define __MODULE_LIGHTMANAGER__ | 
|---|
| 8 |  | 
|---|
| 9 | namespace light | 
|---|
| 10 | { | 
|---|
| 11 | class LightManager() | 
|---|
| 12 | { | 
|---|
| 13 | public: | 
|---|
| 14 | LightManager(); | 
|---|
| 15 | ~LightManager(); | 
|---|
| 16 | void loadParams(XMLNode xml); | 
|---|
| 17 |  | 
|---|
| 18 | private: | 
|---|
| 19 | float ambient_r_; | 
|---|
| 20 | float ambient_g_; | 
|---|
| 21 | float ambient_b_; | 
|---|
| 22 | vector<Light> elements_; | 
|---|
| 23 | }; | 
|---|
| 24 | } | 
|---|
| 25 |  | 
|---|
| 26 | #endif | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.