StationSegment

open class StationSegment(val startId: Int, val endId: Int, var stationSpeed: Float) : TrackSegment(source)

Constructors

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

Properties

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

Functions

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