Axle

data class Axle(var axleSize: Int, var weightOnAxle: Float, var wheelCount: Int) : Parcelable

Constructors

Link copied to clipboard
fun Axle(axleSize: Int, weightOnAxle: Float, wheelCount: Int)

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard

size of the axle, number of following wheels on each side of the axis (common size varies between 1 and 6)

Link copied to clipboard

weight on axle in kilograms

Link copied to clipboard

number of wheels