component.warheadcomponent
Allows an entity to damage other entities at collision.
- struct WarheadComponent;
Allows an entity to damage other entities at collision.
- int damage;
Damage caused (negative for a healing effect).
- bool killsEntity;
Does this warhead kill its entity when activated?
- this(ref Node yaml);
Load from a YAML node. Throws YAMLException on error.