toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.rides.track.segments
/
StationSegment
Station
Segment
open
class
StationSegment
(
val
startId
:
Int
,
val
endId
:
Int
,
var
stationSpeed
:
Float
)
:
TrackSegment
(
source
)
Members
Constructors
Station
Segment
Link copied to clipboard
constructor
(
startId
:
Int
,
endId
:
Int
)
constructor
(
startId
:
Int
,
endId
:
Int
,
stationSpeed
:
Float
)
Properties
end
Id
Link copied to clipboard
val
endId
:
Int
start
Id
Link copied to clipboard
val
startId
:
Int
station
Speed
Link copied to clipboard
var
stationSpeed
:
Float
type
Link copied to clipboard
open
override
val
type
:
SegmentTypes
Functions
apply
Forces
Link copied to clipboard
open
override
fun
applyForces
(
train
:
Train
,
deltaTime
:
Float
)
get
Save
Data
Link copied to clipboard
open
override
fun
getSaveData
(
)
:
Map
<
String
,
String
>
set
Save
Data
Link copied to clipboard
open
override
fun
setSaveData
(
data
:
Map
<
String
,
String
>
)