@@ -0,0 +1,755 @@
+package by.vorokhobko.Chess.models;%0A%0Aimport by.vorokhobko.Chess.exceptions.ImposibleMoveException;%0A%0A/**%0A * Figure.%0A *%0A * Class Figure abstract class for Chess 002, lesson test.%0A * @author Evgeny Vorokhobko (vorokhobko2011@yandex.ru).%0A * @since 13.05.2017.%0A * @version 1.%0A */%0Apublic abstract class Figure %7B%0A    /**%0A     * The class field.%0A     */%0A    private final Cell position;%0A    /**%0A     * %D0%A1reate the class constructor Figure.%0A     * @param position - position.%0A     */%0A    public Figure(Cell position) %7B%0A        this.position = position;%0A    %7D%0A    /**%0A     * Add getter position.%0A     * @return tag.%0A     */%0A    public Cell getPosition() %7B%0A        return this.position;%0A    %7D%0A    public abstract Cell%5B%5D way(Cell dist) throws ImposibleMoveException;%0A%7D

add class Figure