Package com.prineside.tdi2.enemies
Class IcyEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.IcyEnemy
- All Implemented Interfaces:
KryoSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.prineside.tdi2.Enemy
Enemy.EnemyReference, Enemy.Factory<T extends Enemy>
-
Field Summary
FieldsFields inherited from class com.prineside.tdi2.Enemy
angle, ATTACHED_PARTICLE_REGENERATION_BUFF, attachedParticles, bounty, buffFreezingLightningLengthBonus, buffFreezingPercent, buffFreezingPoisonDurationBonus, buffsAppliedByType, buffsByType, buffSnowballHits, caughtByCrushersSet, chasedByCrusher, disabled, drawAngle, drawPosition, drawScale, existsTime, gaveMiningSpeedForGauss, graphPath, HEALTH_BAR_BACKGROUND_COLOR, healthBarInvisible, healthBarScale, id, ignitionIncreasedLastFrame, ignitionProgress, ignoredByAutoWaveCall, ignoredOnGameOverNoEnemies, ignorePathfinding, invisible, killScore, loot, lowAimPriority, maxHealth, multishotTowerHits, notAffectsWaveKillCounter, otherEnemiesNearby, passedTiles, pathSearches, sideShiftIndex, SIZE, spawnTile, stunDebuffStats, sumPassedTiles, thrownBackBy, totalCatchesByCrushers, type, UNREGISTERED_ID, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, wave
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawHealth
(Batch batch) float
float
getBuffVulnerability
(BuffType buff) float
giveDamage
(Tower tower, float damage, DamageType damageType) Do not call directly, use EnemySystem method insteadboolean
void
void
setMaxHealth
(float health) void
Methods inherited from class com.prineside.tdi2.Enemy
addLoot, applyDrawInterpolation, canBeAttackedBy, canBeBuffed, canHaveRandomSideShift, drawBatch, drawBatchAdditive, dynamicPathfindingAllowed, getAbilityVulnerability, getBreakParticle, getBuffedDamageMultiplier, getBuffedSpeed, getBuffsByTypeOrNull, getColor, getCurrentTile, getEmojiTexture, getHealth, getHighlightTexture, getHitParticle, getKillExp, getKillScore, getPassedTilesDelta, getPosition, getSize, getSpeed, getSquaredSize, getTexture, getTowerDamageMultiplier, getUserData, hasBuffsByType, initBuffsByTypeArray, isAir, isBossMainBodyPart, isBossRelated, isVulnerableTo, isVulnerableToSpecial, onPositionSetToPath, onPreDie, onSpawned, setHealth, setKillExp, setPosition, setPosition, setPositionToPath, setSpeed, setUserData, update
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Field Details
-
shieldHealth
public float shieldHealth -
shieldMaxHealth
public float shieldMaxHealth
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
- Overrides:
write
in classEnemy
-
read
- Specified by:
read
in interfaceKryoSerializable
- Overrides:
read
in classEnemy
-
getBuffVulnerability
- Overrides:
getBuffVulnerability
in classEnemy
-
setMaxHealth
public void setMaxHealth(float health) - Overrides:
setMaxHealth
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
giveDamage
Description copied from class:Enemy
Do not call directly, use EnemySystem method instead- Overrides:
giveDamage
in classEnemy
-
drawHealth
- Overrides:
drawHealth
in classEnemy
-
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-