extends BaseTurret
field | type | default | note |
---|---|---|---|
targetAir | boolean | true | 瞄准空军 |
targetGround | boolean | false | 瞄准陆军 |
shootCone | float | 6 | 允许射击最大差异角度 |
shootLength | float | 5 | 与特效相关 |
laserWidth | float | 0.6 | 激光粗细(特效) |
force | float | 0.3 | 拖拽力度 |
scaledForce | float | 0 | |
damage | float | 0 | 每帧伤害 |
laserColor | Color | Color.white | 光束颜色 |
status | StatusEffect | StatusEffect.none | 被击中获得效果 |
statusDuration | float | 300 | 效果持续时间 |
shootSound | Sound | Sounds.tractorbeam | 射击音效 |
shootSoundVolume | float | 0.9 | 射击音效响度 |
public TractorBeamTurret(String name){ super(name); rotateSpeed = 10f; coolantMultiplier = 1f; envEnabled |= Env.space; }