Class SnakeBossTailEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.SnakeBossTailEnemy
- All Implemented Interfaces:
com.badlogic.gdx.utils.Pool.Poolable
,com.esotericsoftware.kryo.KryoSerializable
,ScheduledUpdater.Updatable
-
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, bounty, buffBlizzardActive, buffFreezingLightningLengthBonus, buffFreezingPercent, buffFreezingPoisonDurationBonus, buffRegenerationParticle, buffsAppliedByType, buffsByType, buffSnowballActive, buffSnowballHits, buffStunActive, buffStunCount, buffStunCountByTower, buffStunImmunity, buffThrowBackAffectedBy, crusherTowerTarget, crusherTowerVulnerability, disabled, drawAngle, drawPosition, drawScale, existsTime, gaussMiningSpeedGiven, graphPath, HEALTH_BAR_BACKGROUND_COLOR, healthBarInvisible, healthBarScale, id, ignoredByAutoWaveCall, ignorePathfinding, killScore, loot, lowAimPriority, maxHealth, notAffectsWaveKillCounter, passedTiles, pathSearches, setUpByEnemySystem, sideShiftIndex, SIZE, spawnTile, sumPassedTiles, type, UNREGISTERED_ID, userData, visible, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, wave
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) boolean
float
getAbilityVulnerability
(AbilityType abilityType) float
boolean
void
Вызывается, когда position устанавливается системой в соответствии с path и passedTiles.Methods inherited from class com.prineside.tdi2.Enemy
addLoot, applyDrawInterpolation, canBeAttackedBy, canBeBuffed, canHaveRandomSideShift, drawBatchAdditive, drawHealth, getBreakParticle, getBuffedDamageMultiplier, 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, onPreDie, onSpawned, read, reset, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdate, setHealth, setKillExp, setMaxHealth, setPosition, setPosition, setPositionToPath, setSpeed, setUnregistered, setUserData, update, write
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered
-
Method Details
-
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-
getAbilityVulnerability
- Overrides:
getAbilityVulnerability
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) -
onPositionSetToPath
public void onPositionSetToPath()Description copied from class:Enemy
Вызывается, когда position устанавливается системой в соответствии с path и passedTiles. Здесь можно откорректировать позицию.- Overrides:
onPositionSetToPath
in classEnemy
-
dynamicPathfindingAllowed
public boolean dynamicPathfindingAllowed()- Overrides:
dynamicPathfindingAllowed
in classEnemy
-