Interface IPricedObject
A priced object is an object that has a floating point price value attached to it. In the world of Tiny Life, prices are written as "tiny bucks", but they don't necessarily resemble the prices of the American dollar.
Namespace: TinyLife.World
Assembly: Tiny Life.dll
Syntax
public interface IPricedObject
Methods
GetPrice()
Returns the price that this object can be bought or sold for. Note that, like in the case of the Painting, the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the FurnitureTool or similar.
Declaration
float GetPrice()
Returns
Type | Description |
---|---|
System.Single | The object's price |