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