|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.Mod
public class Mod
Method Summary | |
---|---|
int |
compareTo(Mod other)
|
boolean |
equals(Object otherObject)
|
float |
getAirLosMul()
units airsightdistance will be multiplied with this, for testing purposes |
int |
getAirMipLevel()
miplevel to use for airlos |
boolean |
getAllowTeamColors()
|
float |
getCaptureEnergyCostFactor()
How much should energy should capture cost, default 0.0 |
boolean |
getConstructionDecay()
Should constructions without builders decay? |
float |
getConstructionDecaySpeed()
How fast do they decay? |
int |
getConstructionDecayTime()
How long until they start decaying? |
String |
getDescription()
|
String |
getFileName()
archive filename |
int |
getFireAtCrashing()
1 = units fire at crashing aircrafts, 0 = units ignore crashing aircrafts |
int |
getFireAtKilled()
1 = units fire at enemies running Killed() script, 0 = units ignore such enemies |
int |
getFlankingBonusModeDefault()
0=no flanking bonus; 1=global coords, mobile; 2=unit coords, mobile; 3=unit coords, locked |
String |
getHumanName()
archive filename |
int |
getLosMipLevel()
miplevel for los |
float |
getLosMul()
units sightdistance will be multiplied with this, for testing purposes |
int |
getMultiReclaim()
0 = 1 reclaimer per feature max, otherwise unlimited |
String |
getMutator()
|
boolean |
getReclaimAllowAllies()
Allow reclaiming allies? default true |
boolean |
getReclaimAllowEnemies()
Allow reclaiming enemies? default true |
float |
getReclaimFeatureEnergyCostFactor()
How much should energy should reclaiming a feature cost, default 0.0 |
int |
getReclaimMethod()
0 = gradual reclaim, 1 = all reclaimed at end, otherwise reclaim in reclaimMethod chunks |
float |
getReclaimUnitEfficiency()
How much metal should reclaim return, default 1.0 |
float |
getReclaimUnitEnergyCostFactor()
How much energy should reclaiming a unit cost, default 0.0 |
int |
getReclaimUnitMethod()
0 = Revert to wireframe, gradual reclaim, 1 = Subtract HP, give full metal at end, default 1 |
float |
getRepairEnergyCostFactor()
How much should energy should repair cost, default 0.0 |
boolean |
getRequireSonarUnderWater()
when underwater, units are not in LOS unless also in sonar |
float |
getResurrectEnergyCostFactor()
How much should energy should resurrect cost, default 0.5 |
String |
getShortName()
|
int |
getTransportAir()
0 = all air units cannot be transported, 1 = all air units can be transported (mass and size restrictions still apply). |
int |
getTransportGround()
0 = all ground units cannot be transported, 1 = all ground units can be transported (mass and size restrictions still apply). |
int |
getTransportHover()
0 = all hover units cannot be transported, 1 = all hover units can be transported (mass and size restrictions still apply). |
int |
getTransportShip()
0 = all naval units cannot be transported, 1 = all naval units can be transported (mass and size restrictions still apply). |
String |
getVersion()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int compareTo(Mod other)
compareTo
in interface Comparable<Mod>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public String getFileName()
public String getHumanName()
public String getShortName()
public String getVersion()
public String getMutator()
public String getDescription()
public boolean getAllowTeamColors()
public boolean getConstructionDecay()
public int getConstructionDecayTime()
public float getConstructionDecaySpeed()
public int getMultiReclaim()
public int getReclaimMethod()
public int getReclaimUnitMethod()
public float getReclaimUnitEnergyCostFactor()
public float getReclaimUnitEfficiency()
public float getReclaimFeatureEnergyCostFactor()
public boolean getReclaimAllowEnemies()
public boolean getReclaimAllowAllies()
public float getRepairEnergyCostFactor()
public float getResurrectEnergyCostFactor()
public float getCaptureEnergyCostFactor()
public int getTransportGround()
public int getTransportHover()
public int getTransportShip()
public int getTransportAir()
public int getFireAtKilled()
public int getFireAtCrashing()
public int getFlankingBonusModeDefault()
public int getLosMipLevel()
public int getAirMipLevel()
public float getLosMul()
public float getAirLosMul()
public boolean getRequireSonarUnderWater()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |