gather-and-defend/Assets/Scripts/Ally/HarvesterResourcePair.cs
Felix Boucher 7dba305d30 fixes to berry harvesting
- berry harvester appears on bush tiles
- change berry resource for food instead
- some structural change to reduce bugs
2023-11-12 18:26:36 -05:00

17 lines
401 B
C#

using static Enum;
using UnityEngine;
/// <summary>
/// a data class for the harvesters
/// </summary>
[System.Serializable]
public class HarvesterResourcePair
{
[SerializeField]
private GameObject _harvesterPrefab;
[SerializeField]
private ResourceNodeType _resource;
public GameObject HarvesterPrefab => _harvesterPrefab;
public ResourceNodeType Resource => _resource;
}