Class PlantPack
Inheritance
System.Object
PlantPack
Assembly: Eco.Simulation.dll
Syntax
public class PlantPack : Object, IStorage, ISerializable
Constructors
PlantPack(Vector2i, IPersistent)
Declaration
public PlantPack(Vector2i key, IPersistent storageHandle)
Parameters
Properties
Key
Declaration
public Vector2i Key { get; set; }
Property Value
Plants
Declaration
public ThreadSafeList<Plant> Plants { get; }
Property Value
StorageHandle
Declaration
public IPersistent StorageHandle { get; set; }
Property Value
Methods
Add(Plant)
Declaration
public void Add(Plant plant)
Parameters
Type |
Name |
Description |
Plant |
plant |
|
MarkDirty()
Declaration
OnDeserialized()
Declaration
public void OnDeserialized()
Remove(Plant)
Declaration
public void Remove(Plant plant)
Parameters
Type |
Name |
Description |
Plant |
plant |
|
Implements