registerAbility
registerAbility<
Settings>(world,name,settings):Disposer
Registers an ability on world under name, where the room and the
page each look it up; the return takes it away while it is still the
one registered. The cast time is the release mark of the clip it
plays, or its castSeconds where it plays none; both, or neither,
throw.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Settings extends AbilitySettings |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
name |
string |
settings |
Settings & object |