Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 447 Bytes
import {RED} from './constants.js';
import Piece from './piece.js';
export default class IPiece extends Piece {
constructor(game) {
super(game);
this.color = RED;
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] = 3;
this.sqArray[3][1] = 0;
this.cloneSqArrayToLayoutArray();
}
}