Package com.example.rocket_launch
Class EntrantLocationData
java.lang.Object
com.example.rocket_launch.EntrantLocationData
Class that creates an object to store entrant name and coordinates
to store in a list in the Event Class for mapView implementation
Author: Rachel
-
Constructor Summary
ConstructorsConstructorDescriptionEntrantLocationData(String entrantID, double latitude, double longitude) Constructor for Entrant location data -
Method Summary
Modifier and TypeMethodDescriptiondoubledoublevoidsetEntrantID(String entrantID) voidsetEntrantLatitude(double entrantLatitude) voidsetEntrantLongitude(double entrantLongitude)
-
Constructor Details
-
EntrantLocationData
public EntrantLocationData() -
EntrantLocationData
Constructor for Entrant location data- Parameters:
entrantID- Gets the ID of the entrantlatitude- Gets the entrant's latitudelongitude- Gets the entrant's longitude
-
-
Method Details
-
getEntrantID
-
getEntrantLatitude
public double getEntrantLatitude() -
getEntrantLongitude
public double getEntrantLongitude() -
setEntrantID
-
setEntrantLatitude
public void setEntrantLatitude(double entrantLatitude) -
setEntrantLongitude
public void setEntrantLongitude(double entrantLongitude)
-