public Board() { squares = new BoxSquares(this); figures = new BoxFigures(this); promots = new BoxPromotions(this); game = new Game(); // chess = new Chess("rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NpPP/RNBQK2R w QK - 1 8"); dad = new DragAndDrop(PickObject, DropObject); }
public Board() { squares = new BoxSquares(this); figures = new BoxFigures(this); promots = new BoxPromots(this); client = new Client(); chess = new Chess(); dad = new DragAndDrop(PickObject, DropObject); onPromotionMove = ""; }