24 lines
445 B
C#
24 lines
445 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "SeedItem", menuName = "Game Data/Seed")]
|
|
public class SeedItem : GameItem
|
|
{
|
|
public enum Season
|
|
{
|
|
Spring,
|
|
Summer,
|
|
Fall,
|
|
Winter
|
|
}
|
|
|
|
public CropItem crop;
|
|
public int growthTime;
|
|
public List<Season> growSeasons;
|
|
|
|
// set type on instantiation
|
|
public SeedItem()
|
|
{
|
|
type = ItemType.Seed;
|
|
}
|
|
} |