package ru.pravvich;

import ru.pravvich.figures.Figure;

public class Board {
    public static Figure[][] desc = new Figure[8][8];
}

@@ -42,22 +42,17 @@
 figures.
-Figure
+*
 ;%0A%0Apubli
@@ -120,11 +120,258 @@
 e%5B8%5D%5B8%5D;
+%0A%0A    private void add(Figure figure) %7B%0A        if (figure instanceof Officer) %7B%0A            desc%5Bfigure.getPosition().getY()%5D%5Bfigure.getPosition().getX()%5D =%0A                    new Officer(figure.getPosition(), figure.getColor());%0A        %7D%0A    %7D
 %0A%7D%0A

add method add(Figure) in class Board