MPIDirections
data class MPIDirections( val distance: Double, val path: List<MPINavigatable.MPINode>, val instructions: List<MPIDirections.MPIInstruction>)
Content copied to clipboard
MPIDirections contains paths and instructions to go from a MPINavigatable object to another MPINavigatable object
Constructors
Link copied to clipboard
fun MPIDirections( distance: Double, path: List<MPINavigatable.MPINode>, instructions: List<MPIDirections.MPIInstruction>)
Content copied to clipboard
Types
Link copied to clipboard
data class MPIAction( val type: MPIActionType?, val bearing: MPIBearingType? = null, val referencePosition: String? = null, val fromMap: MPIMap? = null, val toMap: MPIMap? = null)
Content copied to clipboard
This class represents the type of action to be taken in a specific MPIInstruction
Link copied to clipboard
data class MPIInstruction( val action: MPIDirections.MPIAction? = null, val instruction: String?, val node: MPINavigatable.MPINode? = null, val distance: Double?, var atVortex: MPINavigatable.MPIVortex? = null)
Content copied to clipboard
This class represents a singular step or instruction of a MPIDirections