-
public class Locations
-
-
Field Summary
Fields Modifier and Type Field Description private LocationpreviousLocationprivate LocationcurrentLocationprivate IntegerchairliftIconprivate IntegergreenIconprivate IntegerblueIconprivate IntegerblackIconprivate IntegerdoubleBlackIconpublic final static LocationsINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitupdateLocations(Location newLocation)final MapMarkercheckIfOnOther(MapHandler map)final MapMarkercheckIfIOnChairlift(MapHandler map)final MapMarkercheckIfOnRun(MapHandler map)final UnitresetLocations()final LocationgetPreviousLocation()final UnitsetPreviousLocation(Location previousLocation)final LocationgetCurrentLocation()final UnitsetCurrentLocation(Location currentLocation)final IntegergetChairliftIcon()final UnitsetChairliftIcon(@DrawableRes() Integer chairliftIcon)final IntegergetGreenIcon()final UnitsetGreenIcon(@DrawableRes() Integer greenIcon)final IntegergetBlueIcon()final UnitsetBlueIcon(@DrawableRes() Integer blueIcon)final IntegergetBlackIcon()final UnitsetBlackIcon(@DrawableRes() Integer blackIcon)final IntegergetDoubleBlackIcon()final UnitsetDoubleBlackIcon(@DrawableRes() Integer doubleBlackIcon)-
-
Method Detail
-
updateLocations
final Unit updateLocations(Location newLocation)
-
checkIfOnOther
final MapMarker checkIfOnOther(MapHandler map)
-
checkIfIOnChairlift
final MapMarker checkIfIOnChairlift(MapHandler map)
-
checkIfOnRun
final MapMarker checkIfOnRun(MapHandler map)
-
resetLocations
final Unit resetLocations()
-
getPreviousLocation
final Location getPreviousLocation()
-
setPreviousLocation
final Unit setPreviousLocation(Location previousLocation)
-
getCurrentLocation
final Location getCurrentLocation()
-
setCurrentLocation
final Unit setCurrentLocation(Location currentLocation)
-
getChairliftIcon
final Integer getChairliftIcon()
-
setChairliftIcon
final Unit setChairliftIcon(@DrawableRes() Integer chairliftIcon)
-
getGreenIcon
final Integer getGreenIcon()
-
setGreenIcon
final Unit setGreenIcon(@DrawableRes() Integer greenIcon)
-
getBlueIcon
final Integer getBlueIcon()
-
setBlueIcon
final Unit setBlueIcon(@DrawableRes() Integer blueIcon)
-
getBlackIcon
final Integer getBlackIcon()
-
setBlackIcon
final Unit setBlackIcon(@DrawableRes() Integer blackIcon)
-
getDoubleBlackIcon
final Integer getDoubleBlackIcon()
-
setDoubleBlackIcon
final Unit setDoubleBlackIcon(@DrawableRes() Integer doubleBlackIcon)
-
-
-
-