|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.springrts.ai.oo.UnitDef
public class UnitDef
Method Summary | |
---|---|
int |
compareTo(UnitDef other)
|
boolean |
equals(Object otherObject)
|
int |
getAiHint()
|
float |
getAirLosRadius()
|
float |
getArmoredMultiple()
|
int |
getArmorType()
|
float |
getAutoHeal()
This amount of auto-heal will always be applied. |
int |
getBuildAngle()
|
float |
getBuildDistance()
|
float |
getBuildingDecalDecaySpeed()
|
int |
getBuildingDecalSizeX()
|
int |
getBuildingDecalSizeY()
|
int |
getBuildingDecalType()
|
List<UnitDef> |
getBuildOptions()
|
float |
getBuildSpeed()
|
float |
getBuildTime()
|
float |
getCaptureSpeed()
|
int |
getCategory()
|
String |
getCategoryString()
|
float |
getCloakCost()
Energy cost per second to stay cloaked when stationary |
float |
getCloakCostMoving()
Energy cost per second to stay cloaked when moving |
int |
getCobId()
|
CollisionVolume |
getCollisionVolume()
|
float |
getControlRadius()
|
float |
getCost(Resource c_resourceId)
|
Map<String,String> |
getCustomParams()
|
String |
getDeathExplosion()
|
float |
getDecloakDistance()
If enemy unit comes within this range, decloaking is forced |
UnitDef |
getDecoyDef()
|
float |
getDlHoverFactor()
|
float |
getDrag()
|
float |
getExtractsResource(Resource c_resourceId)
|
float |
getFallSpeed()
Dictates fall speed of all transported units. |
String |
getFileName()
|
int |
getFireState()
|
FlankingBonus |
getFlankingBonus()
|
float |
getFlareDelay()
|
AIFloat3 |
getFlareDropVector()
|
float |
getFlareEfficiency()
|
float |
getFlareReloadTime()
|
int |
getFlareSalvoDelay()
|
int |
getFlareSalvoSize()
|
int |
getFlareTime()
|
float |
getFrontToSpeed()
|
String |
getGaia()
|
float |
getHealth()
|
float |
getHeight()
Forces loading of the unit model |
int |
getHighTrajectoryType()
Indicates the trajectory types supported by this unit. |
String |
getHumanName()
|
float |
getIdleAutoHeal()
This amount of auto-heal will only be applied while the unit is idling. |
int |
getIdleTime()
Time a unit needs to idle before it is considered idling. |
int |
getJammerRadius()
|
float |
getKamikazeDist()
|
float |
getLoadingRadius()
|
float |
getLosHeight()
|
float |
getLosRadius()
|
float |
getMakesResource(Resource c_resourceId)
This amount of the resource will be created when the unit is on and enough energy can be drained. |
float |
getMass()
|
float |
getMaxAcceleration()
|
float |
getMaxAileron()
|
float |
getMaxBank()
|
float |
getMaxDeceleration()
|
float |
getMaxElevator()
|
float |
getMaxFuel()
Maximum flight time in seconds before the aircraft needs to return to an air repair bay to refuel. |
float |
getMaxHeightDif()
Maximum terra-form height this building allows. |
float |
getMaxPitch()
|
float |
getMaxRepairSpeed()
|
float |
getMaxRudder()
|
float |
getMaxSlope()
Build location relevant maximum steepness of the underlaying terrain. |
int |
getMaxThisUnit()
Number of units of this type allowed simultaneously in the game |
float |
getMaxWaterDepth()
|
float |
getMaxWeaponRange()
|
float |
getMinAirBasePower()
Minimum build power of airbases that this aircraft can land on |
float |
getMinCollisionSpeed()
|
float |
getMinTransportMass()
|
int |
getMinTransportSize()
|
float |
getMinWaterDepth()
|
MoveData |
getMoveData()
|
int |
getMoveState()
|
int |
getMoveType()
|
float |
getMyGravity()
|
String |
getName()
|
int |
getNoChaseCategory()
|
float |
getPower()
|
int |
getRadarRadius()
|
float |
getRadius()
Forces loading of the unit model |
float |
getReclaimSpeed()
|
float |
getRefuelTime()
Time to fully refuel the unit |
float |
getRepairSpeed()
|
float |
getResourceExtractorRange(Resource c_resourceId)
|
float |
getResourceMake(Resource c_resourceId)
This amount of the resource will always be created. |
float |
getResurrectSpeed()
|
int |
getSeismicRadius()
|
float |
getSeismicSignature()
|
int |
getSelfDCountdown()
|
String |
getSelfDExplosion()
|
WeaponDef |
getShieldDef()
|
float |
getSlideTolerance()
|
int |
getSonarJamRadius()
|
int |
getSonarRadius()
|
float |
getSpeed()
|
float |
getSpeedToFront()
|
WeaponDef |
getStockpileDef()
|
float |
getStorage(Resource c_resourceId)
|
int |
getTechLevel()
|
String |
getTedClassString()
|
float |
getTerraformSpeed()
|
float |
getTidalResourceGenerator(Resource c_resourceId)
|
String |
getTooltip()
|
float |
getTrackOffset()
|
float |
getTrackStrength()
|
float |
getTrackStretch()
|
int |
getTrackType()
|
float |
getTrackWidth()
|
int |
getTransportCapacity()
|
float |
getTransportMass()
|
int |
getTransportSize()
|
int |
getTransportUnloadMethod()
|
float |
getTurnInPlaceDistance()
Units above this distance to goal will try to turn while keeping some of their speed. |
float |
getTurnInPlaceSpeedLimit()
Units below this speed will turn in place regardless of their turnInPlace setting. |
float |
getTurnRadius()
|
float |
getTurnRate()
|
String |
getType()
|
int |
getUnitDefId()
|
float |
getUnitFallSpeed()
Sets the transported units FBI, overrides fallSpeed |
float |
getUnloadSpread()
|
float |
getUpkeep(Resource c_resourceId)
|
float |
getVerticalSpeed()
|
float |
getWantedHeight()
|
float |
getWaterline()
|
List<WeaponMount> |
getWeaponMounts()
|
float |
getWindResourceGenerator(Resource c_resourceId)
|
float |
getWingAngle()
|
float |
getWingDrag()
|
String |
getWreckName()
|
int |
getXSize()
|
int |
getZSize()
|
int |
hashCode()
|
boolean |
isAbleToAssist()
|
boolean |
isAbleToAttack()
|
boolean |
isAbleToCapture()
|
boolean |
isAbleToCloak()
If the unit can cloak |
boolean |
isAbleToCrash()
|
boolean |
isAbleToDGun()
|
boolean |
isAbleToDropFlare()
|
boolean |
isAbleToFight()
|
boolean |
isAbleToFireControl()
|
boolean |
isAbleToFly()
|
boolean |
isAbleToGuard()
|
boolean |
isAbleToHover()
|
boolean |
isAbleToKamikaze()
Will the unit self destruct if an enemy comes to close? |
boolean |
isAbleToLoopbackAttack()
Only matters for fighter aircraft |
boolean |
isAbleToMove()
|
boolean |
isAbleToPatrol()
|
boolean |
isAbleToReclaim()
|
boolean |
isAbleToRepair()
|
boolean |
isAbleToRepeat()
|
boolean |
isAbleToRestore()
|
boolean |
isAbleToResurrect()
|
boolean |
isAbleToSelfD()
|
boolean |
isAbleToSelfRepair()
|
boolean |
isAbleToSubmerge()
|
boolean |
isActivateWhenBuilt()
|
boolean |
isAirBase()
|
boolean |
isAirStrafe()
|
boolean |
isAssistable()
|
boolean |
isBuilder()
|
boolean |
isBuildRange3D()
|
boolean |
isCapturable()
|
boolean |
isCollide()
|
boolean |
isCommander()
|
boolean |
isDecloakOnFire()
Will the unit decloak upon firing? |
boolean |
isDecloakSpherical()
Use a spherical, instead of a cylindrical test? |
boolean |
isDontLand()
|
boolean |
isFactoryHeadingTakeoff()
|
boolean |
isFeature()
|
boolean |
isFirePlatform()
|
boolean |
isFloater()
|
boolean |
isFullHealthFactory()
|
boolean |
isHideDamage()
|
boolean |
isHoldSteady()
|
boolean |
isHoverAttack()
|
boolean |
isLeaveTracks()
|
boolean |
isLevelGround()
Indicates whether the ground will be leveled/flattened out after this building has been built on it. |
boolean |
isNeedGeo()
|
boolean |
isNotTransportable()
|
boolean |
isOnOffable()
|
boolean |
isPushResistant()
|
boolean |
isReclaimable()
|
boolean |
isReleaseHeld()
|
boolean |
isResourceMaker(Resource c_resourceId)
|
boolean |
isShowPlayerName()
|
boolean |
isSonarStealth()
|
boolean |
isSquareResourceExtractor(Resource c_resourceId)
|
boolean |
isStartCloaked()
If the unit wants to start out cloaked |
boolean |
isStealth()
|
boolean |
isStrafeToAttack()
Should the unit move sideways when it can not shoot? |
boolean |
isTargetingFacility()
|
boolean |
isTransportByEnemy()
|
boolean |
isTurnInPlace()
|
boolean |
isUpright()
|
boolean |
isUseBuildingGroundDecal()
|
boolean |
isValid()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getUnitDefId()
public int compareTo(UnitDef other)
compareTo
in interface Comparable<UnitDef>
public boolean equals(Object otherObject)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public float getHeight()
public float getRadius()
public boolean isValid()
public String getName()
public String getHumanName()
public String getFileName()
public int getAiHint()
public int getCobId()
public int getTechLevel()
public String getGaia()
public float getUpkeep(Resource c_resourceId)
public float getResourceMake(Resource c_resourceId)
public float getMakesResource(Resource c_resourceId)
public float getCost(Resource c_resourceId)
public float getExtractsResource(Resource c_resourceId)
public float getResourceExtractorRange(Resource c_resourceId)
public float getWindResourceGenerator(Resource c_resourceId)
public float getTidalResourceGenerator(Resource c_resourceId)
public float getStorage(Resource c_resourceId)
public boolean isSquareResourceExtractor(Resource c_resourceId)
public boolean isResourceMaker(Resource c_resourceId)
public float getBuildTime()
public float getAutoHeal()
public float getIdleAutoHeal()
public int getIdleTime()
public float getPower()
public float getHealth()
public int getCategory()
public float getSpeed()
public float getTurnRate()
public boolean isTurnInPlace()
public float getTurnInPlaceDistance()
public float getTurnInPlaceSpeedLimit()
public int getMoveType()
public boolean isUpright()
public boolean isCollide()
public float getControlRadius()
public float getLosRadius()
public float getAirLosRadius()
public float getLosHeight()
public int getRadarRadius()
public int getSonarRadius()
public int getJammerRadius()
public int getSonarJamRadius()
public int getSeismicRadius()
public float getSeismicSignature()
public boolean isStealth()
public boolean isSonarStealth()
public boolean isBuildRange3D()
public float getBuildDistance()
public float getBuildSpeed()
public float getReclaimSpeed()
public float getRepairSpeed()
public float getMaxRepairSpeed()
public float getResurrectSpeed()
public float getCaptureSpeed()
public float getTerraformSpeed()
public float getMass()
public boolean isPushResistant()
public boolean isStrafeToAttack()
public float getMinCollisionSpeed()
public float getSlideTolerance()
public float getMaxSlope()
public float getMaxHeightDif()
public float getMinWaterDepth()
public float getWaterline()
public float getMaxWaterDepth()
public float getArmoredMultiple()
public int getArmorType()
public float getMaxWeaponRange()
public String getType()
public String getTooltip()
public String getWreckName()
public String getDeathExplosion()
public String getSelfDExplosion()
public String getTedClassString()
public String getCategoryString()
public boolean isAbleToSelfD()
public int getSelfDCountdown()
public boolean isAbleToSubmerge()
public boolean isAbleToFly()
public boolean isAbleToMove()
public boolean isAbleToHover()
public boolean isFloater()
public boolean isBuilder()
public boolean isActivateWhenBuilt()
public boolean isOnOffable()
public boolean isFullHealthFactory()
public boolean isFactoryHeadingTakeoff()
public boolean isReclaimable()
public boolean isCapturable()
public boolean isAbleToRestore()
public boolean isAbleToRepair()
public boolean isAbleToSelfRepair()
public boolean isAbleToReclaim()
public boolean isAbleToAttack()
public boolean isAbleToPatrol()
public boolean isAbleToFight()
public boolean isAbleToGuard()
public boolean isAbleToAssist()
public boolean isAssistable()
public boolean isAbleToRepeat()
public boolean isAbleToFireControl()
public int getFireState()
public int getMoveState()
public float getWingDrag()
public float getWingAngle()
public float getDrag()
public float getFrontToSpeed()
public float getSpeedToFront()
public float getMyGravity()
public float getMaxBank()
public float getMaxPitch()
public float getTurnRadius()
public float getWantedHeight()
public float getVerticalSpeed()
public boolean isAbleToCrash()
public boolean isHoverAttack()
public boolean isAirStrafe()
public float getDlHoverFactor()
public float getMaxAcceleration()
public float getMaxDeceleration()
public float getMaxAileron()
public float getMaxElevator()
public float getMaxRudder()
public int getXSize()
public int getZSize()
public int getBuildAngle()
public float getLoadingRadius()
public float getUnloadSpread()
public int getTransportCapacity()
public int getTransportSize()
public int getMinTransportSize()
public boolean isAirBase()
public boolean isFirePlatform()
public float getTransportMass()
public float getMinTransportMass()
public boolean isHoldSteady()
public boolean isReleaseHeld()
public boolean isNotTransportable()
public boolean isTransportByEnemy()
public int getTransportUnloadMethod()
public float getFallSpeed()
public float getUnitFallSpeed()
public boolean isAbleToCloak()
public boolean isStartCloaked()
public float getCloakCost()
public float getCloakCostMoving()
public float getDecloakDistance()
public boolean isDecloakSpherical()
public boolean isDecloakOnFire()
public boolean isAbleToKamikaze()
public float getKamikazeDist()
public boolean isTargetingFacility()
public boolean isAbleToDGun()
public boolean isNeedGeo()
public boolean isFeature()
public boolean isHideDamage()
public boolean isCommander()
public boolean isShowPlayerName()
public boolean isAbleToResurrect()
public boolean isAbleToCapture()
public int getHighTrajectoryType()
public int getNoChaseCategory()
public boolean isLeaveTracks()
public float getTrackWidth()
public float getTrackOffset()
public float getTrackStrength()
public float getTrackStretch()
public int getTrackType()
public boolean isAbleToDropFlare()
public float getFlareReloadTime()
public float getFlareEfficiency()
public float getFlareDelay()
public AIFloat3 getFlareDropVector()
public int getFlareTime()
public int getFlareSalvoSize()
public int getFlareSalvoDelay()
public boolean isAbleToLoopbackAttack()
public boolean isLevelGround()
public boolean isUseBuildingGroundDecal()
public int getBuildingDecalType()
public int getBuildingDecalSizeX()
public int getBuildingDecalSizeY()
public float getBuildingDecalDecaySpeed()
public float getMaxFuel()
public float getRefuelTime()
public float getMinAirBasePower()
public int getMaxThisUnit()
public UnitDef getDecoyDef()
public boolean isDontLand()
public WeaponDef getShieldDef()
public WeaponDef getStockpileDef()
public List<UnitDef> getBuildOptions()
public Map<String,String> getCustomParams()
public FlankingBonus getFlankingBonus()
public CollisionVolume getCollisionVolume()
public MoveData getMoveData()
public List<WeaponMount> getWeaponMounts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |