Starsector API
Loading...
Searching...
No Matches
com.fs.starfarer.api.util.AutoReducingValue Class Reference

Classes

interface  ValueChangedListener
 

Public Member Functions

 AutoReducingValue (int value, float elapsedPerPoint, ValueChangedListener listener)
 
void advance (float amount)
 
int getValue ()
 
void setValue (int value)
 
void increaseValue (int amt)
 
void reduceValue (int amt)
 

Detailed Description

Definition at line 4 of file AutoReducingValue.java.

Constructor & Destructor Documentation

◆ AutoReducingValue()

com.fs.starfarer.api.util.AutoReducingValue.AutoReducingValue ( int  value,
float  elapsedPerPoint,
ValueChangedListener  listener 
)

Definition at line 16 of file AutoReducingValue.java.

Member Function Documentation

◆ advance()

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

Definition at line 22 of file AutoReducingValue.java.

◆ getValue()

int com.fs.starfarer.api.util.AutoReducingValue.getValue ( )

Definition at line 37 of file AutoReducingValue.java.

◆ increaseValue()

void com.fs.starfarer.api.util.AutoReducingValue.increaseValue ( int  amt)

Definition at line 49 of file AutoReducingValue.java.

◆ reduceValue()

void com.fs.starfarer.api.util.AutoReducingValue.reduceValue ( int  amt)

Definition at line 60 of file AutoReducingValue.java.

◆ setValue()

void com.fs.starfarer.api.util.AutoReducingValue.setValue ( int  value)

Definition at line 41 of file AutoReducingValue.java.


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