Package com.prineside.tdi2.towers
Class FreezingTower
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Building
com.prineside.tdi2.Tower
com.prineside.tdi2.towers.FreezingTower
- All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable
,com.esotericsoftware.kryo.KryoSerializable
,ScheduledUpdater.Updatable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Tower
Tower.AbilityConfig, Tower.AimStrategy, Tower.Factory<T extends Tower>, Tower.FindEnemyFilter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]
static final int
static final int
static final int
static final float
static final float
static final float
static final float
Fields inherited from class com.prineside.tdi2.Tower
ABILITIES_COUNT, ABILITY_INDEX_POWERFUL, ABILITY_INDEX_SPECIAL, ABILITY_INDEX_ULTIMATE, ABILITY_NAMES, abilityAvailableParticleEffect, aimStrategy, angle, attackDisabled, attackedSinceLastConstantEnemySeeking, bonusCoinsBrought, bountyModifiersNearby, currentLevelExperience, damageGiven, DPS_STAT_INTERVAL, DPS_STAT_SLOTS, dpsDamage, dpsTime, enemiesKilled, experience, experienceGeneration, experienceMultiplier, id, installedAbilities, level, LEVEL_EXPERIENCE, LEVEL_EXPERIENCE_MILESTONES, MAX_LEVEL, MAX_UPGRADE_LEVEL, mdps, minRangeInPixels, moneySpentOn, nextLevelExperience, outOfOrder, powerBonuses, rangeInPixels, sbForUI, searchModifiersNearby, SHADOW_COLOR, shotCount, timeSinceLastAttack, type
Fields inherited from class com.prineside.tdi2.Building
buildingType
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionfloat
calculateStat
(TowerStatType towerStatType) boolean
canAim()
void
drawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) float
void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
void
scheduledUpdate
(float deltaTime) void
update
(float deltaTime) void
Обновляет кэш текущих характеристик башни Так как характеристики обновляются, одновременно обновляется массив тайлов в радиусе пораженияvoid
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Tower
addExperience, applyDrawInterpolation, attack, calculateXpLevel, canAbilityBeInstalled, canAttack, canAttackEnemy, canNewAbilityBeInstalled, cloneBuilding, customButtonAction, dispose, drawAbilitiesToCache, drawBase, drawBaseExtrasToCache, drawBaseToCache, drawBatchAdditive, drawGlitch, drawHoveredRange, drawSelectedRange, drawWeapon, fillTowerMenu, findTarget, findTarget, getAttackDelay, getEnemyPriority, getExpLevelStatBonusPercentage, getLevel, getLevelForExperience, getMaxTowerLevel, getMaxUpgradeLevel, getMinRange, getPowerCombinedMultiplier, getRange, getSellPrice, getStartingLevel, getStat, getTarget, getUniqueStatDescription, getUpgradeLevel, getWalkCost, hasCustomButton, isAbilityInstalled, isCustomButtonNeedMapPoint, isOutOfOrder, isSellFullRefundStillActive, isStatAffectedByPower, loadFromJson, onAbilitySet, onPreSell, placedOnMap, rotateTo, rotateTo, scheduledUpdatableGetId, scheduledUpdatableSetId, setAimStrategy, setExperience, setLevel, setRegistered, setTarget, setUnregistered, setUpgradeLevel, shouldSearchForTarget, toJson, traverseTilesInRange, updateBasicRotation, updateCustomButton, upgrade, upgrade
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered
-
Field Details
-
SPECIAL_ABILITY_RANGE
public static final float SPECIAL_ABILITY_RANGE- See Also:
-
MONITORED_TARGET_FREEZING_BONUS
public static final float MONITORED_TARGET_FREEZING_BONUS- See Also:
-
ABILITY_COLD_EVAPORATION
public static final int ABILITY_COLD_EVAPORATION- See Also:
-
ABILITY_SLOW_FREEZING
public static final int ABILITY_SLOW_FREEZING- See Also:
-
ABILITY_MONITORING_SYSTEM
public static final int ABILITY_MONITORING_SYSTEM- See Also:
-
ABILITY_ALIASES
-
GAIN_EXP_COEFF
public static final float GAIN_EXP_COEFF- See Also:
-
SNOWBALL_ACCUMULATION_TIME
public static final float SNOWBALL_ACCUMULATION_TIME- See Also:
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) -
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) -
getWeaponTextures
- Specified by:
getWeaponTextures
in classTower
-
canAim
public boolean canAim() -
calculateStat
- Overrides:
calculateStat
in classTower
-
updateCache
public void updateCache()Description copied from class:Tower
Обновляет кэш текущих характеристик башни Так как характеристики обновляются, одновременно обновляется массив тайлов в радиусе поражения- Overrides:
updateCache
in classTower
-
removedFromMap
public void removedFromMap()- Overrides:
removedFromMap
in classTower
-
getScheduledUpdateInterval
public float getScheduledUpdateInterval()- Overrides:
getScheduledUpdateInterval
in classTower
-
scheduledUpdate
public void scheduledUpdate(float deltaTime) - Specified by:
scheduledUpdate
in interfaceScheduledUpdater.Updatable
- Overrides:
scheduledUpdate
in classTower
-
update
public void update(float deltaTime) -
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)
-