The MovablePolygon Class
A new MovablePolygon class has all the functionality of DrawablePolygon plus the ability to move (like the square in the previous example): class MovablePolygon extends DrawablePolygon { … }
Previous slide
Next slide
Back to first slide
View graphic version