Package com.prineside.tdi2.towers
Class TeslaTower
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Building
com.prineside.tdi2.Tower
com.prineside.tdi2.towers.TeslaTower
- 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
FieldsFields 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, typeFields inherited from class com.prineside.tdi2.Building
buildingTypeFields inherited from class com.prineside.tdi2.Registrable
S - 
Method Summary
Modifier and TypeMethodDescriptionvoidattack(int shotsCount) floatcalculateStat(TowerStatType towerStatType) booleancanAim()voiddrawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidupdate(float deltaTime) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Tower
addExperience, applyDrawInterpolation, 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, getScheduledUpdateInterval, getSellPrice, getStartingLevel, getStat, getTarget, getUniqueStatDescription, getUpgradeLevel, getWalkCost, hasCustomButton, isAbilityInstalled, isCustomButtonNeedMapPoint, isOutOfOrder, isSellFullRefundStillActive, isStatAffectedByPower, loadFromJson, onAbilitySet, onPreSell, placedOnMap, removedFromMap, rotateTo, rotateTo, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdate, setAimStrategy, setExperience, setLevel, setRegistered, setTarget, setUnregistered, setUpgradeLevel, shouldSearchForTarget, toJson, traverseTilesInRange, updateBasicRotation, updateCache, updateCustomButton, upgrade, upgradeMethods inherited from class com.prineside.tdi2.Registrable
isRegistered 
- 
Field Details
- 
SPECIAL_ABILITY_RANGE
public static final float SPECIAL_ABILITY_RANGE- See Also:
 
 - 
ABILITY_ALIASES
 
 - 
 - 
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:
 getWeaponTexturesin classTower
 - 
canAim
public boolean canAim() - 
attack
public void attack(int shotsCount)  - 
calculateStat
- Overrides:
 calculateStatin classTower
 - 
update
public void update(float deltaTime)  - 
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime)  
 -