Class SnakeBossTailEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.SnakeBossTailEnemy
- 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
Fields inherited from class com.prineside.tdi2.Enemy
angle, ATTACHED_PARTICLE_REGENERATION_BUFF, bounty, buffFreezingLightningLengthBonus, buffFreezingPercent, buffFreezingPoisonDurationBonus, buffsAppliedByType, buffsByType, buffSnowballHits, canNotBeDisoriented, caughtByCrushersSet, chasedByCrusher, disabled, doesNotDisableTowers, 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, velocity, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, wave
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
float
getAbilityVulnerability
(AbilityType abilityType) float
boolean
boolean
boolean
void
Called when position is set by the system according to path and passedTiles.Methods inherited from class com.prineside.tdi2.Enemy
addLoot, applyDrawInterpolation, attachParticle, canBeAttackedBy, canBeBuffed, canHaveRandomSideShift, detachParticle, drawBatchAdditive, drawHealth, getAllUserData, getAttachedParticle, getAttachedParticles, getBreakParticle, getBuffedDamageMultiplier, getBuffedSpeed, getBuffsByTypeOrNull, getBuffVulnerability, getColor, getCurrentTile, getEmojiTexture, getHealth, getHighlightTexture, getHitParticle, getKillExp, getKillScore, getPassedTilesDelta, getPosition, getSize, getSpeed, getSquaredSize, getTexture, getTowerDamageMultiplier, getTypeForPathfinding, getUserData, giveDamage, giveDamageRaw, hasBuffsByType, initBuffsByTypeArray, isAir, isVulnerableTo, isVulnerableToSpecial, onPreDie, onSpawned, read, setHealth, setKillExp, setMaxHealth, setPosition, setPosition, setPositionToPath, setSpeed, setUserData, update, write
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered, setUnregistered
-
Method Details
-
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-
getAbilityVulnerability
- Overrides:
getAbilityVulnerability
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
isBossRelated
public boolean isBossRelated()- Overrides:
isBossRelated
in classEnemy
-
isBossMainBodyPart
public boolean isBossMainBodyPart()- Overrides:
isBossMainBodyPart
in classEnemy
-
drawBatch
-
onPositionSetToPath
public void onPositionSetToPath()Description copied from class:Enemy
Called when position is set by the system according to path and passedTiles. Position can be corrected here.- Overrides:
onPositionSetToPath
in classEnemy
-
dynamicPathfindingAllowed
public boolean dynamicPathfindingAllowed()- Overrides:
dynamicPathfindingAllowed
in classEnemy
-