Package mindustry.entities.bullet
Class InterceptorBulletType
java.lang.Object
mindustry.ctype.Content
mindustry.entities.bullet.BulletType
mindustry.entities.bullet.BasicBulletType
mindustry.entities.bullet.InterceptorBulletType
- All Implemented Interfaces:
Cloneable
,Comparable<Content>
This class can only be used with PointDefenseBulletWeapon. Attempting to spawn it in outside of that weapon will lead to standard behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
-
Field Summary
Fields inherited from class mindustry.entities.bullet.BasicBulletType
backColor, backRegion, backSprite, frontColor, frontRegion, height, mixColorFrom, mixColorTo, rotationOffset, shrinkInterp, shrinkX, shrinkY, spin, sprite, width
Fields inherited from class mindustry.entities.bullet.BulletType
absorbable, accel, ammoMultiplier, angleOffset, backMove, buildingDamageMultiplier, bulletInterval, cachedDps, chargeEffect, circleShooter, circleShooterRadius, circleShooterRadiusSmooth, circleShooterRotateSpeed, collideFloor, collides, collidesAir, collidesGround, collidesTeam, collidesTiles, collideTerrain, createChance, damage, delayFrags, despawnEffect, despawnHit, despawnShake, despawnSound, despawnUnit, despawnUnitChance, despawnUnitCount, despawnUnitRadius, displayAmmoMultiplier, drag, drawSize, extraRangeMargin, faceOutwards, fragAngle, fragBullet, fragBullets, fragLifeMax, fragLifeMin, fragOffsetMax, fragOffsetMin, fragOnAbsorb, fragOnHit, fragRandomSpread, fragSpread, fragVelocityMax, fragVelocityMin, healAmount, healColor, healEffect, healPercent, hitColor, hitEffect, hitShake, hitSize, hitSound, hitSoundPitch, hitSoundVolume, hittable, hitUnder, homingDelay, homingPower, homingRange, ignoreSpawnAngle, impact, inaccuracy, incendAmount, incendChance, incendSpread, instantDisappear, intervalAngle, intervalBullet, intervalBullets, intervalDelay, intervalRandomSpread, intervalSpread, keepVelocity, killShooter, knockback, laserAbsorb, layer, lifeScaleRandMax, lifeScaleRandMin, lifesteal, lifetime, lightColor, lightning, lightningAngle, lightningColor, lightningCone, lightningDamage, lightningLength, lightningLengthRand, lightningType, lightOpacity, lightRadius, makeFire, maxDamageFraction, maxRange, minRangeChange, optimalLifeFract, parts, pierce, pierceArmor, pierceBuilding, pierceCap, pierceDamageFactor, pierceFragCap, puddleAmount, puddleLiquid, puddleRange, puddles, randomAngleOffset, range, rangeChange, rangeOverride, recoil, reflectable, reloadMultiplier, removeAfterPierce, rotateSpeed, scaledSplashDamage, scaleLife, setDefaults, shieldDamageMultiplier, shootEffect, smokeEffect, spawnBulletRandomSpread, spawnBullets, spawnUnit, speed, splashDamage, splashDamagePierce, splashDamageRadius, status, statusDuration, sticky, stickyExtraLifetime, suppressColor, suppressionDuration, suppressionEffectChance, suppressionRange, targetBlocks, targetMissiles, trailChance, trailColor, trailEffect, trailInterp, trailInterval, trailLength, trailMinVelocity, trailParam, trailRotation, trailSinMag, trailSinScl, trailSpread, trailWidth, underwater, velocityScaleRandMax, velocityScaleRandMin, weaveMag, weaveRandom, weaveScale
-
Constructor Summary
ConstructorsConstructorDescriptionInterceptorBulletType
(float speed, float damage) InterceptorBulletType
(float speed, float damage, String bulletSprite) -
Method Summary
Methods inherited from class mindustry.entities.bullet.BasicBulletType
draw, load
Methods inherited from class mindustry.entities.bullet.BulletType
buildingDamage, calculateRange, continuousDamage, copy, create, create, create, create, create, create, create, create, create, create, create, create, create, createBullet, createFrags, createIncend, createNet, createPuddles, createSplashDamage, createUnits, damageMultiplier, despawned, drawLight, drawParts, drawTrail, estimateDPS, getContentType, handlePierce, heals, hit, hit, hitEntity, hitTile, init, init, removed, shieldDamage, testCollision, updateBulletInterval, updateHoming, updateTrail, updateTrailEffects, updateWeaving
-
Constructor Details
-
InterceptorBulletType
public InterceptorBulletType(float speed, float damage) -
InterceptorBulletType
public InterceptorBulletType() -
InterceptorBulletType
-
-
Method Details
-
update
public void update(mindustry.gen.Bullet b) - Overrides:
update
in classBulletType
-