Package mindustry.entities.bullet
Class ContinuousLaserBulletType
java.lang.Object
mindustry.ctype.Content
mindustry.entities.bullet.BulletType
mindustry.entities.bullet.ContinuousBulletType
mindustry.entities.bullet.ContinuousLaserBulletType
- All Implemented Interfaces:
Cloneable,Comparable<Content>
-
Nested Class Summary
Nested classes/interfaces inherited from class mindustry.ctype.Content
Content.ModContentInfo -
Field Summary
FieldsModifier and TypeFieldDescriptionfloatarc.graphics.Color[]intfloatfloatfloatfloatfloatfloatfloatfloatfloatFields inherited from class mindustry.entities.bullet.ContinuousBulletType
continuous, damageInterval, largeHit, length, shake, timescaleDamageFields inherited from class mindustry.entities.bullet.BulletType
absorbable, accel, ammoMultiplier, angleOffset, 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, followAimSpeed, 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, statLiquidConsumed, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatcurrentLength(mindustry.gen.Bullet b) voiddraw(mindustry.gen.Bullet b) voiddrawLight(mindustry.gen.Bullet b) Methods inherited from class mindustry.entities.bullet.ContinuousBulletType
applyDamage, calculateRange, continuousDamage, estimateDPS, init, init, updateMethods inherited from class mindustry.entities.bullet.BulletType
buildingDamage, copy, create, 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, shieldDamage, testCollision, updateBulletInterval, updateHoming, updateTrail, updateTrailEffects, updateWeaving
-
Field Details
-
fadeTime
public float fadeTime -
lightStroke
public float lightStroke -
divisions
public int divisions -
colors
public arc.graphics.Color[] colors -
strokeFrom
public float strokeFrom -
strokeTo
public float strokeTo -
pointyScaling
public float pointyScaling -
backLength
public float backLength -
frontLength
public float frontLength -
width
public float width -
oscScl
public float oscScl -
oscMag
public float oscMag
-
-
Constructor Details
-
ContinuousLaserBulletType
public ContinuousLaserBulletType(float damage) -
ContinuousLaserBulletType
public ContinuousLaserBulletType()
-
-
Method Details
-
draw
public void draw(mindustry.gen.Bullet b) - Overrides:
drawin classBulletType
-
drawLight
public void drawLight(mindustry.gen.Bullet b) - Overrides:
drawLightin classBulletType
-
currentLength
public float currentLength(mindustry.gen.Bullet b) - Overrides:
currentLengthin classContinuousBulletType
-