package module4;

import de.fhpotsdam.unfolding.data.PointFeature;
import processing.core.PGraphics;

/** Implements a visual marker for ocean earthquakes on an earthquake map
 * 
 * @author UC San Diego Intermediate Software Development MOOC team
 * @author Your name here
 *
 */
public class OceanQuakeMarker extends EarthquakeMarker {
	
	public OceanQuakeMarker(PointFeature quake) {
		super(quake);
		
		// setting field in earthquake marker
		isOnLand = false;
	}
	

	@Override
	public void drawEarthquake(PGraphics pg, float x, float y) {
		// Drawing a centered square for Ocean earthquakes
		// DO NOT set the fill color.  That will be set in the EarthquakeMarker
		// class to indicate the depth of the earthquake.
		// Simply draw a centered square.
		
		// HINT: Notice the radius variable in the EarthquakeMarker class
		// and how it is set in the EarthquakeMarker constructor
		
		// TODO: Implement this method
		
	}
	


	

}

@@ -544,386 +544,56 @@
 %7B%0A%09%09
-// Drawing a centered square for Ocean earthquakes%0A%09%09// DO NOT set the fill color.  That will be set in the EarthquakeMarker%0A%09%09// class to indicate the depth of the earthquake.%0A%09%09// Simply draw a centered square.%0A%09%09%0A%09%09// HINT: Notice the radius variable in the EarthquakeMarker class%0A%09%09// and how it is set in the EarthquakeMarker constructor%0A%09%09%0A%09%09// TODO: Implement this method
+pg.rect(x-radius, y-radius, 2*radius, 2*radius);
 %0A%09%09%0A

Add ocean marker