Package mindustry.game
Class EventType.UnitDamageEvent
java.lang.Object
mindustry.game.EventType.UnitDamageEvent
- Enclosing class:
- EventType
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 Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
unit
public mindustry.gen.Unit unit -
bullet
public mindustry.gen.Bullet bullet
-
-
Constructor Details
-
UnitDamageEvent
public UnitDamageEvent()
-
-
Method Details
-
set
-