ResourceChange
What changeResource changes, and by how much: one entry of a cost.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
Handle extends ResourceHandle |
ResourceHandle |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
amount |
number |
Added where positive, spent where negative. |
resource |
Handle |
The resource’s handle, from defineResource. |