package ru.job4j.figure;

import ru.job4j.game.*;

/**.
* Chapter_002
* Task 2.9.2
* Interface for create figure
*
* @author Anton Vasilyuk
* @version 1.0
* @since 0.1
*/

public abstract class Figure {


    /**.
     * @cellPosition position the sell
     */
    private final Cell cellPosition;

    /**.
     * Constructor
     * @param position is cell for new figure
     */
    public Figure(Cell position){
        this.cellPosition = position;
    }

    /**.
     * Abstract method building way for the figure
     * @param dist finish point
     * @return way array cells
     */
    abstract Cell[] way(Cell dist) throws ImposibleMoveException;

}
@@ -453,16 +453,88 @@
 %0A    %7D%0A%0A
+%09/**.%0A%09* Getter for this position%0A%09*/%0A%09public abstract Cell getCell();%0A%0A
     /**.
@@ -660,16 +660,23 @@
  */%0A    
+public 
 abstract

add file for chapter_002_2.9.2