ActionAdventureKit 1.7.3
|
base class for damage kinds, typically damages will reduce some resource value which is implemented in ResourceDamage
technically though damages can do pretty much anything to the sender and receiver by creating a new implementation of DamageKind and overriding OnDamage
Public Member Functions | |
virtual void | OnDamage (DamageEvent e) |
called during damage handling after the sender and receiver had a chance to react in their PreDamage and OnDamage methods(DamageEvent) | |
Public Attributes | |
Color | Color = Color.red |
|
inlinevirtual |
called during damage handling after the sender and receiver had a chance to react in their PreDamage and OnDamage methods(DamageEvent)
e |
Reimplemented in AdventureCore.ResourceDamage.