Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 459 Bytes
import {TURQUOISE} from './constants.js';
import Piece from './piece.js';
export default class TPiece extends Piece {
constructor(game) {
super(game);
this.color = TURQUOISE;
this.sqArray[0][0] = 0;
this.sqArray[0][1] = 0;
this.sqArray[1][0] = 1;
this.sqArray[1][1] = 0;
this.sqArray[2][0] = 2;
this.sqArray[2][1] = 0;
this.sqArray[3][0] = 1;
this.sqArray[3][1] = 1;
this.cloneSqArrayToLayoutArray();
};
}