Last change
on this file since 341 was
341,
checked in by rgrieder, 18 years ago
|
- removed folder src/class_hierarchy
- removed a few unnec. files in src/
- added a few files in src/orxonox to make weapon system and hud work
- restructured all CMLs
- adjusted all the #include directives (only one include directory now: src)
- moved ENET library linkage to CML in src/orxonox
|
File size:
384 bytes
|
Rev | Line | |
---|
[164] | 1 | |
---|
[341] | 2 | #include "xml/xmlParser.h" |
---|
[164] | 3 | |
---|
| 4 | #ifndef __MODULE_LIGHT__ |
---|
| 5 | #define __MODULE_LIGHT__ |
---|
| 6 | |
---|
| 7 | namespace light |
---|
| 8 | { |
---|
| 9 | class Light() |
---|
| 10 | { |
---|
| 11 | public: |
---|
| 12 | Light(); |
---|
| 13 | Light(XMLNode xml); |
---|
| 14 | ~Light(); |
---|
| 15 | void loadParams(XMLNode xml); |
---|
| 16 | |
---|
| 17 | private: |
---|
| 18 | float diffuseColor_r_; |
---|
| 19 | float diffuseColor_g_; |
---|
| 20 | float diffuseColor_b_; |
---|
| 21 | |
---|
| 22 | int coord_x_; |
---|
| 23 | int coord_y_; |
---|
| 24 | int coord_z_; |
---|
| 25 | }; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.