UGDK
|
00001 #ifndef HORUSEYE_FRAMEWORK_LIGHT_H_ 00002 #define HORUSEYE_FRAMEWORK_LIGHT_H_ 00003 00004 #include <ugdk/math/vector2D.h> 00005 #include <ugdk/base/types.h> 00006 #include <ugdk/graphic.h> 00007 00008 namespace ugdk { 00009 namespace graphic { 00010 00011 class Light { 00012 public: 00013 Light(); 00014 ~Light() {} 00015 00016 const Vector2D& dimension() const { return dimension_; } 00017 void set_dimension(const Vector2D& dimension) { dimension_ = dimension; } 00018 00019 const Color& color() const { return color_; } 00020 void set_color(const Color& color) { color_ = color; } 00021 00022 void Draw(); 00023 00024 private: 00025 Vector2D dimension_; 00026 Color color_; 00027 }; 00028 00029 } // namespace graphic 00030 } // namespace ugdk 00031 00032 #endif