Newer
Older
MapPush / src / Latitude.java
Naoya Nitta on 31 Oct 2023 359 bytes Initial version
import java.util.*;

public class Latitude {
	private MapLatitude mapLatitude;
	private double value;
	public Latitude(MapLatitude mapLatitude) {
		this.mapLatitude = mapLatitude;
	}
	public double getValue() {
		return this.value;
	}
	public void updateGPS(double lat2, double long2) {
		this.value = lat2;
		this.mapLatitude.updateLatitude(this.value);
	}
}