Class ConstructorBossEnemy
java.lang.Object
com.prineside.tdi2.Registrable
com.prineside.tdi2.Enemy
com.prineside.tdi2.enemies.bosses.ConstructorBossEnemy
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
,ScheduledUpdater.Updatable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class com.prineside.tdi2.Enemy
Enemy.EnemyReference, Enemy.Factory<T extends Enemy>
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.badlogic.gdx.utils.Array<Enemy>
int
boolean
boolean
boolean
boolean
float
float
float
float
Fields 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, ignorePathfinding, invisible, killScore, loot, lowAimPriority, maxHealth, multishotTowerHits, notAffectsWaveKillCounter, otherEnemiesNearby, passedTiles, pathSearches, sideShiftIndex, spawnTile, stunDebuffStats, sumPassedTiles, thrownBackBy, totalCatchesByCrushers, type, UNREGISTERED_ID, wasAimedAtWithChainReactionBuff, wasStunnedByGauss, wave
Fields inherited from class com.prineside.tdi2.Registrable
S
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeSpeedTo
(float toSpeed, float deltaTime) void
drawBatch
(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) boolean
float
getAbilityVulnerability
(AbilityType abilityType) float
float
getSize()
Радиус врага в пикселяхfloat
float
giveDamage
(Tower tower, float damage, DamageType damageType) Вызывать только через enemySystemboolean
boolean
boolean
boolean
void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) 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, getBuffedSpeed, getBuffsByTypeOrNull, getBuffVulnerability, getColor, getCurrentTile, getEmojiTexture, getHealth, getHighlightTexture, getHitParticle, getKillExp, getKillScore, getPassedTilesDelta, getPosition, getSpeed, getTexture, getTowerDamageMultiplier, getUserData, 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, setUnregistered
-
Field Details
-
enemiesToSpawn
-
enemiesToSpawnStartCount
public int enemiesToSpawnStartCount -
spawningTime
public float spawningTime -
timeSinceCreepSpawn
public float timeSinceCreepSpawn -
spawnDelayBeforeTime
public float spawnDelayBeforeTime -
spawnDelayAfterTime
public float spawnDelayAfterTime -
groupSpawned75hp
public boolean groupSpawned75hp -
groupSpawned50hp
public boolean groupSpawned50hp -
groupSpawned25hp
public boolean groupSpawned25hp -
invulnerable
public boolean invulnerable -
processor
-
-
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) -
hasDrawPriority
public boolean hasDrawPriority()- Specified by:
hasDrawPriority
in classEnemy
-
isBossRelated
public boolean isBossRelated()- Overrides:
isBossRelated
in classEnemy
-
isBossMainBodyPart
public boolean isBossMainBodyPart()- Overrides:
isBossMainBodyPart
in classEnemy
-
getAbilityVulnerability
- Overrides:
getAbilityVulnerability
in classEnemy
-
changeSpeedTo
public void changeSpeedTo(float toSpeed, float deltaTime) -
getSize
public float getSize()Description copied from class:Enemy
Радиус врага в пикселях -
getSquaredSize
public float getSquaredSize()- Overrides:
getSquaredSize
in classEnemy
-
giveDamage
Description copied from class:Enemy
Вызывать только через enemySystem- Overrides:
giveDamage
in classEnemy
-
getBaseDamage
public float getBaseDamage()- Overrides:
getBaseDamage
in classEnemy
-
isInvulnerable
public boolean isInvulnerable() -
drawBatch
public void drawBatch(com.badlogic.gdx.graphics.g2d.Batch batch, float deltaTime) -
dynamicPathfindingAllowed
public boolean dynamicPathfindingAllowed()- Overrides:
dynamicPathfindingAllowed
in classEnemy
-