Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.util.ValueShifterAPI Interface Reference
Inheritance diagram for com.fs.starfarer.api.util.ValueShifterAPI:
[legend]

Public Member Functions

float getBase ()
 
void setBase (float base)
 
float getCurr ()
 
void shift (Object source, float to, float durIn, float durOut, float shift)
 
void advance (float amount)
 

Detailed Description

Definition at line 3 of file ValueShifterAPI.java.

Member Function Documentation

◆ advance()

void com.fs.starfarer.api.util.ValueShifterAPI.advance ( float  amount)

◆ getBase()

float com.fs.starfarer.api.util.ValueShifterAPI.getBase ( )

◆ getCurr()

float com.fs.starfarer.api.util.ValueShifterAPI.getCurr ( )

◆ setBase()

void com.fs.starfarer.api.util.ValueShifterAPI.setBase ( float  base)

◆ shift()

void com.fs.starfarer.api.util.ValueShifterAPI.shift ( Object  source,
float  to,
float  durIn,
float  durOut,
float  shift 
)

Durations are in seconds, NOT days.

Parameters
source
to
durIn
durOut
shift

Implemented in com.fs.starfarer.api.util.ValueShifterUtil.


The documentation for this interface was generated from the following file: