TrackRide

class TrackRide(id: Int, origin: Location)(source)

Constructors

Link copied to clipboard
constructor(id: Int, origin: Location)

Functions

Link copied to clipboard
fun addNode(node: TrackNode)

Adds a TrackNode to the nodes list.

Link copied to clipboard
fun addNodes(nodes: List<TrackNode>)

Adds the given list of TrackNode objects to the nodes list of the TrackRide class.

Link copied to clipboard

Displays each node in the track as itemDisplayEntities in the given world.

Link copied to clipboard
fun hideTrack()

Hides the track from the world.