mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-30 13:07:10 +01:00
d
This commit is contained in:
@@ -6,7 +6,35 @@ using System.Collections.Generic;
|
||||
[CreateAssetMenu(fileName = "Crop", menuName = "Harvestdale/Items/Crop", order = 0)]
|
||||
public class Crop : Item
|
||||
{
|
||||
public int daysToGrow;
|
||||
public List<Sprite> sprites = new List<Sprite>();
|
||||
public Harvest harvest;
|
||||
[SerializeField]
|
||||
private List<Sprite> sprites = new List<Sprite>();
|
||||
|
||||
[SerializeField]
|
||||
private Harvest harvestItem;
|
||||
|
||||
[SerializeField]
|
||||
private Season seasonToPlant;
|
||||
|
||||
[SerializeField]
|
||||
private Season seasonToHarvest;
|
||||
|
||||
public List<Sprite> Sprites
|
||||
{
|
||||
get { return sprites; }
|
||||
}
|
||||
|
||||
public Harvest HarvestItem
|
||||
{
|
||||
get { return harvestItem; }
|
||||
}
|
||||
|
||||
public Season SeasonToPlant
|
||||
{
|
||||
get { return seasonToPlant; }
|
||||
}
|
||||
|
||||
public Season SeasonToHarvest
|
||||
{
|
||||
get { return seasonToHarvest; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user