root
JVM
root
/
org.magiclib.subsystems
/
MagicShipSystemSubsystem
Magic
Ship
System
Subsystem
abstract
class
MagicShipSystemSubsystem
Calls relevant hooks in a ship system.
Members
Constructors
Magic
Ship
System
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
Charge
Recharge
Duration
Link copied to clipboard
open
fun
getBaseChargeRechargeDuration
(
)
:
Float
get
Base
Cooldown
Duration
Link copied to clipboard
open
fun
getBaseCooldownDuration
(
)
:
Float
get
Base
In
Duration
Link copied to clipboard
open
fun
getBaseInDuration
(
)
:
Float
get
Base
Out
Duration
Link copied to clipboard
open
fun
getBaseOutDuration
(
)
:
Float
get
Display
Text
Link copied to clipboard
open
fun
getDisplayText
(
)
:
String
get
Max
Charges
Link copied to clipboard
open
fun
getMaxCharges
(
)
:
Int
get
Ship
System
Id
Link copied to clipboard
abstract
fun
getShipSystemId
(
)
:
String
has
Charges
Link copied to clipboard
open
fun
hasCharges
(
)
:
Boolean
on
State
Switched
Link copied to clipboard
open
fun
onStateSwitched
(
oldState
:
State
)