root
JVM
root
/
org.magiclib.subsystems.examples
/
ToggledDriveSubsystem
Toggled
Drive
Subsystem
open
class
ToggledDriveSubsystem
Members
Constructors
Toggled
Drive
Subsystem
Link copied to clipboard
constructor
(
ship
:
ShipAPI
)
Functions
advance
Link copied to clipboard
open
fun
advance
(
amount
:
Float
,
isPaused
:
Boolean
)
get
Base
Active
Duration
Link copied to clipboard
open
fun
getBaseActiveDuration
(
)
:
Float
get
Base
Cooldown
Duration
Link copied to clipboard
open
fun
getBaseCooldownDuration
(
)
:
Float
get
Base
Out
Duration
Link copied to clipboard
open
fun
getBaseOutDuration
(
)
:
Float
get
Display
Text
Link copied to clipboard
open
fun
getDisplayText
(
)
:
String
is
Toggle
Link copied to clipboard
open
fun
isToggle
(
)
:
Boolean
on
Activate
Link copied to clipboard
open
fun
onActivate
(
)
on
Finished
Link copied to clipboard
open
fun
onFinished
(
)
should
Activate
AI
Link copied to clipboard
open
fun
shouldActivateAI
(
amount
:
Float
)
:
Boolean