Class MobchainBossHeadEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.MobchainBossHeadEnemy
- 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 TypeMethodDescriptionboolean
canBeAttackedBy
(Tower tower) Additional check - main check happens in tower.canAttackEnemy()void
drawHealth
(Batch batch) boolean
float
getAbilityVulnerability
(AbilityType abilityType) float
float
getBuffedDamageMultiplier
(TowerType towerType, DamageType damageType) boolean
boolean
boolean
void
void
Methods inherited from class com.prineside.tdi2.Enemy
addLoot, applyDrawInterpolation, canBeBuffed, canHaveRandomSideShift, drawBatch, drawBatchAdditive, getBreakParticle, getBuffedSpeed, getBuffsByTypeOrNull, getBuffVulnerability, getColor, getCurrentTile, getEmojiTexture, getHealth, getHighlightTexture, getHitParticle, getKillExp, getKillScore, getPassedTilesDelta, getPosition, getSize, getSpeed, getSquaredSize, getTexture, getTowerDamageMultiplier, getUserData, giveDamage, hasBuffsByType, initBuffsByTypeArray, isAir, isVulnerableTo, isVulnerableToSpecial, onPositionSetToPath, onPreDie, onSpawned, setHealth, setKillExp, setMaxHealth, setPosition, setPosition, setPositionToPath, setSpeed, setUserData, update
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Field Details
-
vulnerable
public boolean vulnerable
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
- Overrides:
write
in classEnemy
-
read
- Specified by:
read
in interfaceKryoSerializable
- Overrides:
read
in classEnemy
-
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
getAbilityVulnerability
- Overrides:
getAbilityVulnerability
in classEnemy
-
isBossRelated
public boolean isBossRelated()- Overrides:
isBossRelated
in classEnemy
-
isBossMainBodyPart
public boolean isBossMainBodyPart()- Overrides:
isBossMainBodyPart
in classEnemy
-
canBeAttackedBy
Description copied from class:Enemy
Additional check - main check happens in tower.canAttackEnemy()- Overrides:
canBeAttackedBy
in classEnemy
-
getBuffedDamageMultiplier
- Overrides:
getBuffedDamageMultiplier
in classEnemy
- Parameters:
towerType
- may be null
-
drawHealth
- Overrides:
drawHealth
in classEnemy
-
dynamicPathfindingAllowed
public boolean dynamicPathfindingAllowed()- Overrides:
dynamicPathfindingAllowed
in classEnemy
-