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

add method point(int index)

parent e5dbebbe
No related branches found
No related tags found
No related merge requests found
......@@ -16,5 +16,8 @@ public abstract class AbstractShape implements Shape {
public int pointsCount(){ //nombre total de points
return points.size();
}
public Point2D point(int index){
return points.get(index);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment