Class PlantFruitType
- Namespace
- TinyLife.Skills
- Assembly
- TinyLife.dll
[JsonConverter(typeof(MigratingStaticJsonConverter<PlantFruitType>), new object[] { typeof(PlantFruitType), "PrivateTypes", true })]
public class PlantFruitType
- Inheritance
-
PlantFruitType
- Inherited Members
-
- Extension Methods
-
Constructors
PlantFruitType(string, float, FoodType)
public PlantFruitType(string name, float basePrice, FoodType food = null)
Parameters
name string
basePrice float
food FoodType
Fields
BasePrice
public readonly float BasePrice
Field Value
- float
Food
public readonly FoodType Food
Field Value
- FoodType
Name
public readonly string Name
Field Value
- string
Texture
public readonly TextureRegion Texture
Field Value
- TextureRegion
Types
public static readonly ReadOnlyDictionary<string, PlantFruitType> Types
Field Value
- ReadOnlyDictionary<string, PlantFruitType>
Properties
DisplayName
public string DisplayName { get; }
Property Value
- string
Methods
Register(PlantFruitType)
public static PlantFruitType Register(PlantFruitType type)
Parameters
type PlantFruitType
Returns
- PlantFruitType