示例#1
0
 // Code for saving a piece
 private void NewPieceSelected()
 {
     RemoveShowMoves();
     movingPiece = AllPieces[FindPosInArr(new int[2] {
         cellPosNew.x, cellPosNew.y
     })];
     cellPosLast = cellPosNew;
     movingPiece.Move();
 }