toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.rides.track.segments
/
BreakSegment
Break
Segment
class
BreakSegment
(
val
startId
:
Int
,
val
endId
:
Int
,
var
breakType
:
BreakSegment.BreakType
=
BreakType.BLOCKBREAK
,
var
minspeed
:
Float
)
:
TrackSegment
(
source
)
Members
Constructors
Break
Segment
Link copied to clipboard
constructor
(
startId
:
Int
,
endId
:
Int
)
constructor
(
startId
:
Int
,
endId
:
Int
,
breakType
:
BreakSegment.BreakType
=
BreakType.BLOCKBREAK
,
minspeed
:
Float
)
Types
Break
Type
Link copied to clipboard
enum
BreakType
:
Enum
<
BreakSegment.BreakType
>
Properties
break
Type
Link copied to clipboard
var
breakType
:
BreakSegment.BreakType
end
Id
Link copied to clipboard
val
endId
:
Int
minspeed
Link copied to clipboard
var
minspeed
:
Float
start
Id
Link copied to clipboard
val
startId
:
Int
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
>
)