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:
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, SIZE, spawnTile, sumPassedTiles, type, UNREGISTERED_ID, userData, visible, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, waveFields inherited from class com.prineside.tdi2.Registrable
S -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawHealth(com.badlogic.gdx.graphics.g2d.Batch batch) floatfloatgetBuffVulnerability(BuffType buff) floatgiveDamage(Tower tower, float damage, DamageType damageType) Вызывать только через enemySystembooleanvoidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidreset()Resets the object for reuse.voidsetMaxHealth(float health) voidwrite(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, 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, isVulnerableTo, isVulnerableToSpecial, onPositionSetToPath, onPreDie, onSpawned, scheduledUpdatableGetId, scheduledUpdatableSetId, scheduledUpdate, setHealth, setKillExp, setPosition, setPosition, setPositionToPath, setSpeed, setUnregistered, setUserData, updateMethods inherited from class com.prineside.tdi2.Registrable
isRegistered, setRegistered
-
Field Details
-
shieldHealth
public float shieldHealth -
shieldMaxHealth
public float shieldMaxHealth
-
-
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.PoolableResets the object for reuse. Object references should be nulled and fields may be set to default values. -
getBuffVulnerability
- Overrides:
getBuffVulnerabilityin classEnemy
-
setMaxHealth
public void setMaxHealth(float health) - Overrides:
setMaxHealthin classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamagein classEnemy
-
giveDamage
Description copied from class:EnemyВызывать только через enemySystem- Overrides:
giveDamagein classEnemy
-
drawHealth
public void drawHealth(com.badlogic.gdx.graphics.g2d.Batch batch) - Overrides:
drawHealthin classEnemy
-
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriorityin classEnemy
-