18 lines
277 B
JavaScript
18 lines
277 B
JavaScript
|
/**
|
||
|
* Color Superset
|
||
|
* @param r
|
||
|
* @param g
|
||
|
* @param b
|
||
|
* @param a
|
||
|
* @constructor
|
||
|
*/
|
||
|
GameLib.D3.Color = function(r, g, b, a) {
|
||
|
this.r = r;
|
||
|
this.g = g;
|
||
|
this.b = b;
|
||
|
this.a = a;
|
||
|
};
|
||
|
|
||
|
if (typeof module !== 'undefined') {
|
||
|
module.exports = GameLib.D3.Color;
|
||
|
}
|