Class SpeciesResource
Inheritance
System.Object
SpeciesResource
Assembly: Eco.Simulation.dll
Syntax
public class SpeciesResource : Object
Constructors
SpeciesResource(Type, Range, Single)
Declaration
public SpeciesResource(Type resourceType, Range resourceRange, float resourceChance = 1F)
Parameters
Type |
Name |
Description |
System.Type |
resourceType |
|
Range |
resourceRange |
|
System.Single |
resourceChance |
|
Properties
ResourceChance
Declaration
public float ResourceChance { get; set; }
Property Value
Type |
Description |
System.Single |
|
ResourceRange
Declaration
public Range ResourceRange { get; set; }
Property Value
ResourceType
Declaration
public Type ResourceType { get; set; }
Property Value
Type |
Description |
System.Type |
|