TrackSegment

@Serializable
open class TrackSegment(val startId: Int, val endId: Int)(source)

Inheritors

Constructors

Link copied to clipboard
constructor(startId: Int, endId: Int)

Properties

Link copied to clipboard
val endId: Int
Link copied to clipboard
Link copied to clipboard
open val type: SegmentTypes

Functions

Link copied to clipboard
open fun applyForces(train: Train, deltaTime: Float)
Link copied to clipboard
Link copied to clipboard
open fun setSaveData(data: Map<String, String>)