示例#1
0
    public void onCellClick(BoardCell cell)
    {
        if (turnState != TurnState.ChoixChemin)
        {
            return;
        }
        PlayerPiece currentPiece = team.getActivePiece();

        if (currentPiece != null)
        {
            currentPiece.onCellClick(cell);
            checkMove(currentPiece);
        }
    }