package module4;

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

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


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

	// Get the country the earthquake is in
	public String getCountry() {
		return (String) getProperty("country");
	}



		
}
@@ -586,383 +586,45 @@
 %7B%0A%09%09
-// Draw a centered circle for ocean quakes%0A%09%09// DO NOT set the fill color here.  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 circle.%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.ellipse(x, y, 2*radius, 2*radius);
 %0A%09%09%0A

Add landquake marker