Summary
Describes the damage that should be done to something. This is purposefully a class
so it can be derived from, allowing games to create their own special types of damage, while
not having to create a whole new system.
Properties
Attacker |
Usually a player or Npc
|
Damage |
Amount of damage this should do
|
Hitbox |
The hitbox that we hit (if any)
|
IsExplosion |
True if this is explosive damage
|
Position |
The location of the damage
|
Shape |
The physics shape that we hit (if any)
|
Tags |
Tags for this damage, allows you to enter and read different damage types etc
|
Weapon |
The weapon that did the damage, or a vehicle etc
|