package lectures.inheritance.is_a.extra;
import util.annotations.WebDocuments;

import lectures.graphics.ACartesianPoint;
import lectures.inheritance.extra.MutablePoint;

@WebDocuments({"Lectures/InheritanceIsAExtra.pptx", "Lectures/InheritanceIsAExtra.pdf", "Videos/InheritanceIsAExtra.avi"})
public class AMutablePoint extends ACartesianPoint implements MutablePoint {
    public AMutablePoint() {
        super(0, 0);
    }
    public AMutablePoint(int theX, int theY) {
        super(theX, theY);
    }   
    public void setX(int newVal) {
        x = newVal;
    }   
    public void setY(int newVal) {
        y = newVal;     
    }
}