Class EventType.UnitDamageEvent

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

public static class EventType.UnitDamageEvent extends Object
Called when a unit is hit by a bullet. This event is REUSED, do not nest invocations of it (e.g. damage units in its event handler)
  • Field Details

    • unit

      public mindustry.gen.Unit unit
    • bullet

      public mindustry.gen.Bullet bullet
  • Constructor Details

    • UnitDamageEvent

      public UnitDamageEvent()
  • Method Details