Fix cannibal promotions
[xogo.git] / utils / PiPo.js
CommitLineData
41534b92
BA
1// class "PiPo": Piece + Position
2export default class PiPo {
3 // o: {piece[p], color[c], posX[x], posY[y]}
4 constructor(o) {
5 this.p = o.p;
6 this.c = o.c;
7 this.x = o.x;
8 this.y = o.y;
9 }
10};