Class: EntityHealthChangedAfterEvent
Contains information related to an entity when its health changes. Warning: don't change the health of an entity in this event, or it will cause an infinite loop!
Constructors
new EntityHealthChangedAfterEvent()
private
new EntityHealthChangedAfterEvent():EntityHealthChangedAfterEvent
Returns
Properties
entity
readonly
entity:Entity
Remarks
Entity whose health changed.
newValue
readonly
newValue:number
Remarks
New health value of the entity.
oldValue
readonly
oldValue:number
Remarks
Old health value of the entity.