app / sg.edu.ntu.scse.cz2006.gymbuddies.datastruct / Distance

Distance

data class Distance

Internal data class for storing distance of a marker from another point for sg.edu.ntu.scse.cz2006.gymbuddies.datastruct in Gym Buddies!

Author
Kenneth Soh

Since
2019-10-21

Constructors

<init>

Creates an object of the distance of the marker in reference to another point

Distance(distance: Float = 0f, marker: MarkerOptions? = null, carpark: CarPark? = null)

Properties

carpark

CarPark? Carpark in which distance relates to

var carpark: CarPark?

distance

Float Distance of the marker from another point

var distance: Float

marker

MarkerOptions? The marker in which the distance relates to

var marker: MarkerOptions?