aboutsummaryrefslogtreecommitdiff
path: root/lib/components/color.js
blob: a9877bf66e5e7108d3a020d524e40fa13a7931b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { Component } from '@serpentity/serpentity';

export default class Color extends Component {
  constructor(config) {

    super(config);

    this.r = Math.random();
    this.g = Math.random();
    this.b = Math.random();
    this.a = 1.0;
  }
};