commitCost
commitCost(
entity,reservation):void
Spends what reserveCost held back under reservation, as an
action’s release does, and pauses each resource’s regeneration. Every
other reservation’s hold stays as it is, and a reservation that holds
nothing spends nothing.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
entity |
Entity |
reservation |
ReservationKey |
Returns
Section titled “Returns”void