Class EventType.UnitBulletDestroyEvent

java.lang.Object
mindustry.game.EventType.UnitBulletDestroyEvent
Enclosing class:
EventType

public static class EventType.UnitBulletDestroyEvent extends Object
Called when a unit is directly killed by a bullet. May not fire in all circumstances.
  • Field Details

    • unit

      public mindustry.gen.Unit unit
    • bullet

      public mindustry.gen.Bullet bullet
  • Constructor Details

    • UnitBulletDestroyEvent

      public UnitBulletDestroyEvent(mindustry.gen.Unit unit, mindustry.gen.Bullet bullet)
    • UnitBulletDestroyEvent

      public UnitBulletDestroyEvent()