Skip to content
Snippets Groups Projects
Commit 94014854 authored by BENHILA Douaa's avatar BENHILA Douaa
Browse files

add method point

parent 64262bfa
No related branches found
No related tags found
No related merge requests found
package shape;
import javafx.geometry.Point2D;
public abstract class Decorator implements Shape {
protected Shape decoratedShape;
......@@ -10,4 +12,9 @@ public abstract class Decorator implements Shape {
public int pointsCount(){
return decoratedShape.pointsCount();
}
@Override
public Point2D point(int index) {
return decoratedShape.point(index);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment