import java.awt.Color;
import java.awt.Graphics;



public abstract class Shape {
	protected Color currentColor;
	protected Color shapeColor;
	

	public abstract void draw(Graphics g); //draw the Shape using its current color


	public abstract boolean contains(int x, int y); //does the Shape contain the point with the given coordinates

	
	public void highlight() {
		currentColor = Color.RED;
	}

	public void unHighlight() {
		currentColor = shapeColor;
	}

}
