25 lines
568 B
C#
25 lines
568 B
C#
using System.Collections.Generic;
|
|
using Types.Items;
|
|
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "TreeInteractable", menuName = "Game Data/Farming/Tree Interactable")]
|
|
public class TreeInteractable : Interactable
|
|
{
|
|
public TreeInteractable()
|
|
{
|
|
type = InteractableType.Tree;
|
|
}
|
|
|
|
public List<ResourceItem> ContainsItems { get; set; }
|
|
|
|
public void Interact()
|
|
{
|
|
Debug.Log("Rock Interact");
|
|
}
|
|
|
|
public void Initialize()
|
|
{
|
|
Debug.Log("Rock Initialize");
|
|
ContainsItems = new List<ResourceItem>();
|
|
}
|
|
} |