6 lines
138 B
JavaScript
6 lines
138 B
JavaScript
|
GameLib.D3.API.Color = function Color(r, g, b, a) {
|
||
|
this.r = r || 1;
|
||
|
this.g = g || 1;
|
||
|
this.b = b || 1;
|
||
|
this.a = a || 0;
|
||
|
};
|