#ifndef _COLOR_H_ #define _COLOR_H_ class Color { public: Color(float r0 = 0, float g0 = 0, float b0 = 0, float a0 = 1.0) : r(r0), g(g0), b(b0), a(a0) {} float getR() const {return r;} float getG() const {return g;} float getB() const {return b;} float getA() const {return a;} private: float r, g, b, a; }; #endif /*_COLOR_H_*/