public ChessCore AddFig(int Figure, int x, int y, boolean Side, int AddSpecial){
        if (AddSpecial==1 || AddSpecial==2) 
            AddFig(Figure,9-x,y,!Side,0);
        if (AddSpecial==2) 
            AddFig(Figure,x,9-y,Side,1);
        switch(Figure){
            case 0: Fig.add(new FigPawn(x,y,Side,this)); break;
            case 1: Fig.add(new FigRook(x,y,Side,this)); break;
            case 2: Fig.add(new FigKnight(x,y,Side,this)); break;
            case 3: Fig.add(new FigBishop(x,y,Side,this)); break;
            case 4: Fig.add(new FigQueen(x,y,Side,this)); break;
            case 5: Fig.add(new FigKing(x,y,Side,this)); break;
            default: System.out.println("Exception no such figure exist");}
        return this;}