Package mindustry.entities.bullet
Class ContinuousFlameBulletType
java.lang.Object
mindustry.ctype.Content
mindustry.entities.bullet.BulletType
mindustry.entities.bullet.ContinuousBulletType
mindustry.entities.bullet.ContinuousFlameBulletType
- All Implemented Interfaces:
Cloneable
,Comparable<Content>
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo
-
Field Summary
Modifier and TypeFieldDescriptionColor[]
int
boolean
float
float
float
float
float
float
float[]
Lengths, widths, ellipse panning, and offsets, all as fractions of the base width and length.float
float
float
boolean
float
Fields inherited from class mindustry.entities.bullet.ContinuousBulletType
continuous, damageInterval, largeHit, length, shake
Fields inherited from class mindustry.entities.bullet.BulletType
absorbable, ammoMultiplier, backMove, buildingDamageMultiplier, bulletInterval, chargeEffect, collideFloor, collides, collidesAir, collidesGround, collidesTeam, collidesTiles, collideTerrain, createChance, damage, despawnEffect, despawnHit, despawnShake, despawnSound, despawnUnit, despawnUnitChance, despawnUnitCount, despawnUnitRadius, displayAmmoMultiplier, drag, drawSize, faceOutwards, fragAngle, fragBullet, fragBullets, fragLifeMax, fragLifeMin, fragOnAbsorb, fragOnHit, fragRandomSpread, fragSpread, fragVelocityMax, fragVelocityMin, healAmount, healColor, healEffect, healPercent, hitColor, hitEffect, hitShake, hitSize, hitSound, hitSoundPitch, hitSoundVolume, hittable, homingDelay, homingPower, homingRange, ignoreSpawnAngle, impact, inaccuracy, incendAmount, incendChance, incendSpread, instantDisappear, intervalAngle, intervalBullet, intervalBullets, intervalDelay, intervalRandomSpread, intervalSpread, keepVelocity, killShooter, knockback, laserAbsorb, layer, lifetime, lightColor, lightning, lightningAngle, lightningColor, lightningCone, lightningDamage, lightningLength, lightningLengthRand, lightningType, lightOpacity, lightRadius, makeFire, maxRange, optimalLifeFract, parts, pierce, pierceArmor, pierceBuilding, pierceCap, pierceDamageFactor, puddleAmount, puddleLiquid, puddleRange, puddles, range, rangeChange, rangeOverride, recoil, reflectable, reloadMultiplier, removeAfterPierce, scaledSplashDamage, scaleLife, setDefaults, shootEffect, smokeEffect, spawnBullets, spawnUnit, speed, splashDamage, splashDamagePierce, splashDamageRadius, status, statusDuration, suppressionDuration, suppressionEffectChance, suppressionRange, trailChance, trailColor, trailEffect, trailInterp, trailInterval, trailLength, trailParam, trailRotation, trailSinMag, trailSinScl, trailWidth, weaveMag, weaveRandom, weaveScale
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
currentLength
(mindustry.gen.Bullet b) void
draw
(mindustry.gen.Bullet b) void
drawLight
(mindustry.gen.Bullet b) Methods inherited from class mindustry.entities.bullet.ContinuousBulletType
applyDamage, calculateRange, continuousDamage, estimateDPS, init, init, update
Methods inherited from class mindustry.entities.bullet.BulletType
copy, create, create, create, create, create, create, create, create, create, create, create, create, createBullet, createFrags, createIncend, createNet, createPuddles, createSplashDamage, createUnits, damageMultiplier, despawned, drawParts, drawTrail, getContentType, handlePierce, heals, hit, hit, hitEntity, hitTile, load, removed, testCollision, updateBulletInterval, updateHoming, updateTrail, updateTrailEffects, updateWeaving
-
Field Details
-
lightStroke
public float lightStroke -
width
public float width -
oscScl
public float oscScl -
oscMag
public float oscMag -
divisions
public int divisions -
drawFlare
public boolean drawFlare -
flareColor
-
flareWidth
public float flareWidth -
flareInnerScl
public float flareInnerScl -
flareLength
public float flareLength -
flareInnerLenScl
public float flareInnerLenScl -
flareLayer
public float flareLayer -
flareRotSpeed
public float flareRotSpeed -
rotateFlare
public boolean rotateFlare -
lengthInterp
-
lengthWidthPans
public float[] lengthWidthPansLengths, widths, ellipse panning, and offsets, all as fractions of the base width and length. Stored as an 'interleaved' array of values: LWPO1 LWPO2 LWPO3... -
colors
-
-
Constructor Details
-
ContinuousFlameBulletType
public ContinuousFlameBulletType(float damage) -
ContinuousFlameBulletType
public ContinuousFlameBulletType()
-
-
Method Details
-
draw
public void draw(mindustry.gen.Bullet b) - Overrides:
draw
in classBulletType
-
currentLength
public float currentLength(mindustry.gen.Bullet b) - Overrides:
currentLength
in classContinuousBulletType
-
drawLight
public void drawLight(mindustry.gen.Bullet b) - Overrides:
drawLight
in classBulletType
-