addStats
addStats(
writer,entity,declared):void
Adds each named stat with its base and bounds, keeping the modifiers it already has and every stat it does not name. The Stats component’s verb, for a system that spawns an entity without one.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
EntityAuthority |
entity |
Entity |
declared |
Record<string, StatBase> |
Returns
Section titled “Returns”void