Finite boards (#1)

This commit is contained in:
gavin
2018-07-15 02:54:26 +00:00
committed by Gitea
parent 68f83bfc4b
commit 0545c0a5d9
14 changed files with 497 additions and 356 deletions

View File

@@ -1,5 +1,3 @@
import {extend} from './utils.js';
import {random} from './utils.js';
export default class Cell {
@@ -19,7 +17,7 @@ export default class Cell {
this.alpha = 0.5;
this.created = Date.now();
extend(this, settings);
Object.assign(this, settings);
}
getColor() {