Class BrootEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.BrootEnemy
- 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
FieldsFields 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, spawnTile, sumPassedTiles, type, UNREGISTERED_ID, userData, visible, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, wave
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionboolean
float
getAbilityVulnerability
(AbilityType abilityType) float
float
float
getSize()
Радиус врага в пикселяхfloat
boolean
void
boolean
isInRage()
void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
reset()
Resets the object for reuse.void
void
void
updateRageState
(float deltaTime) boolean
void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Enemy
addLoot, applyDrawInterpolation, canBeAttackedBy, canBeBuffed, canHaveRandomSideShift, drawBatch, drawBatchAdditive, drawHealth, getBreakParticle, getBuffedDamageMultiplier, getBuffsByTypeOrNull, getBuffVulnerability, getColor, getCurrentTile, getEmojiTexture, getHealth, getHighlightTexture, getHitParticle, getKillExp, getKillScore, getPassedTilesDelta, getPosition, getSpeed, getTexture, getTowerDamageMultiplier, getUserData, giveDamage, hasBuffsByType, initBuffsByTypeArray, isAir, isVulnerableTo, isVulnerableToSpecial, onPositionSetToPath, onPreDie, onSpawned, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdate, setHealth, setKillExp, setMaxHealth, setPosition, setPosition, setPositionToPath, setSpeed, setUserData, update
Methods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered
-
Field Details
-
RAGE_DURATION
public static final float RAGE_DURATION- See Also:
-
-
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) -
reset
public void reset()Description copied from interface:com.badlogic.gdx.utils.Pool.Poolable
Resets the object for reuse. Object references should be nulled and fields may be set to default values. -
setUnregistered
public void setUnregistered()- Overrides:
setUnregistered
in classEnemy
-
getAbilityVulnerability
- Overrides:
getAbilityVulnerability
in classEnemy
-
getSize
public float getSize()Description copied from class:Enemy
Радиус врага в пикселях -
getSquaredSize
public float getSquaredSize()- Overrides:
getSquaredSize
in classEnemy
-
startRage
public void startRage() -
getBuffedSpeed
public float getBuffedSpeed()- Overrides:
getBuffedSpeed
in classEnemy
-
wasInRage
public boolean wasInRage() -
isInRage
public boolean isInRage() -
updateRageState
public void updateRageState(float deltaTime) -
healthRestoredWithDamage
public void healthRestoredWithDamage() -
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
dynamicPathfindingAllowed
public boolean dynamicPathfindingAllowed()- Overrides:
dynamicPathfindingAllowed
in classEnemy
-