UGDK  0.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
light.h
Go to the documentation of this file.
1 #ifndef HORUSEYE_FRAMEWORK_LIGHT_H_
2 #define HORUSEYE_FRAMEWORK_LIGHT_H_
3 
4 #include <ugdk/math/vector2D.h>
5 #include <ugdk/base/types.h>
6 #include <ugdk/graphic.h>
7 
8 namespace ugdk {
9 namespace graphic {
10 
11 class Light {
12  public:
13  Light();
14  ~Light() {}
15 
16  const Vector2D& dimension() const { return dimension_; }
17  void set_dimension(const Vector2D& dimension) { dimension_ = dimension; }
18 
19  const Color& color() const { return color_; }
20  void set_color(const Color& color) { color_ = color; }
21 
22  void Draw();
23 
24  private:
25  Vector2D dimension_;
26  Color color_;
27 };
28 
29 } // namespace graphic
30 } // namespace ugdk
31 
32 #endif