Ejemplo n.º 1
0
        private void figureIsSelected()
        {
            PositionToMove positionToMoveTile = getPressedPositionToMove(posX, posY);

            if (positionToMoveTile != null)
            {
                FigureMoveScript.makeMove(posX, posY, boardScript, gameManager);
            }
            FigureMoveScript.UnselectFigure(gameManager, boardScript);
        }
Ejemplo n.º 2
0
 public void UndoMove()
 {
     FigureMoveScript.UnselectFigure(this, boardScript);
     FigureMoveScript.undoMove(boardScript, this);
 }