Class CashInstance
Represents an instance of cash within the game.
public class CashInstance : ItemInstance
- Inheritance
-
CashInstance
- Inherited Members
- Extension Methods
Methods
AddQuantity(float)
Adds to the quantity of cash for this instance. NOTE: Supports negative numbers to remove.
public void AddQuantity(float amount)
Parameters
amountfloatQuantity to set the cash to.
SetQuantity(float)
Sets the quantity of cash for this instance.
public void SetQuantity(float newQuantity)
Parameters
newQuantityfloatQuantity to set the cash to.