Starsector API
|
Classes | |
class | TemporaryStatMod |
Public Member Functions | |
MutableStatWithTempMods (float base) | |
void | removeTemporaryMod (String source) |
void | addTemporaryModFlat (float durInDays, String source, String desc, float value) |
void | addTemporaryModMult (float durInDays, String source, String desc, float value) |
void | addTemporaryModFlat (float durInDays, String source, float value) |
void | addTemporaryModPercent (float durInDays, String source, String desc, float value) |
void | addTemporaryModPercent (float durInDays, String source, float value) |
Map< String, TemporaryStatMod > | getMods () |
boolean | hasMod (String source) |
void | advance (float days) |
Public Member Functions inherited from com.fs.starfarer.api.combat.MutableStat | |
MutableStat (float base) | |
MutableStat | createCopy () |
void | applyMods (MutableStat other) |
void | applyMods (StatBonus other) |
boolean | isUnmodified () |
HashMap< String, StatMod > | getFlatMods () |
HashMap< String, StatMod > | getPercentMods () |
HashMap< String, StatMod > | getMultMods () |
StatMod | getFlatStatMod (String source) |
StatMod | getPercentStatMod (String source) |
StatMod | getMultStatMod (String source) |
void | modifyFlat (String source, float value) |
void | modifyFlat (String source, float value, String desc) |
void | modifyPercent (String source, float value) |
void | modifyPercent (String source, float value, String desc) |
void | modifyPercentAlways (String source, float value, String desc) |
void | modifyMult (String source, float value) |
void | modifyMult (String source, float value, String desc) |
void | modifyMultAlways (String source, float value, String desc) |
void | modifyFlatAlways (String source, float value, String desc) |
void | unmodify () |
void | unmodify (String source) |
void | unmodifyFlat (String source) |
void | unmodifyPercent (String source) |
void | unmodifyMult (String source) |
float | getFlatMod () |
float | getPercentMod () |
float | getMult () |
float | computeMultMod () |
float | getModifiedValue () |
int | getModifiedInt () |
float | getBaseValue () |
void | setBaseValue (float base) |
boolean | isPositive () |
boolean | isNegative () |
Protected Member Functions | |
Object | readResolve () |
Object | writeReplace () |
Additional Inherited Members | |
Public Attributes inherited from com.fs.starfarer.api.combat.MutableStat | |
float | base |
float | modified |
Copyright 2012 Fractal Softworks, LLC
Definition at line 12 of file MutableStatWithTempMods.java.
com.fs.starfarer.api.combat.MutableStatWithTempMods.MutableStatWithTempMods | ( | float | base | ) |
Definition at line 25 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.addTemporaryModFlat | ( | float | durInDays, |
String | source, | ||
float | value | ||
) |
Definition at line 73 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.addTemporaryModFlat | ( | float | durInDays, |
String | source, | ||
String | desc, | ||
float | value | ||
) |
Definition at line 65 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.addTemporaryModMult | ( | float | durInDays, |
String | source, | ||
String | desc, | ||
float | value | ||
) |
Definition at line 69 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.addTemporaryModPercent | ( | float | durInDays, |
String | source, | ||
float | value | ||
) |
Definition at line 81 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.addTemporaryModPercent | ( | float | durInDays, |
String | source, | ||
String | desc, | ||
float | value | ||
) |
Definition at line 77 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.advance | ( | float | days | ) |
Definition at line 96 of file MutableStatWithTempMods.java.
Map< String, TemporaryStatMod > com.fs.starfarer.api.combat.MutableStatWithTempMods.getMods | ( | ) |
Definition at line 86 of file MutableStatWithTempMods.java.
boolean com.fs.starfarer.api.combat.MutableStatWithTempMods.hasMod | ( | String | source | ) |
Definition at line 92 of file MutableStatWithTempMods.java.
|
protected |
Reimplemented from com.fs.starfarer.api.combat.MutableStat.
Definition at line 29 of file MutableStatWithTempMods.java.
void com.fs.starfarer.api.combat.MutableStatWithTempMods.removeTemporaryMod | ( | String | source | ) |
Definition at line 48 of file MutableStatWithTempMods.java.
|
protected |
Reimplemented from com.fs.starfarer.api.combat.MutableStat.
Definition at line 40 of file MutableStatWithTempMods.java.