mirror of
https://github.com/DerTyp7/harvestdale-unity.git
synced 2025-10-29 04:42:08 +01:00
23 lines
328 B
C#
23 lines
328 B
C#
using UnityEngine;
|
|
using UnityEngine.Tilemaps;
|
|
|
|
public class Field : Building
|
|
{
|
|
public Crop crop;
|
|
public int daysSincePlanted;
|
|
public bool isWatered;
|
|
|
|
private void Start()
|
|
{
|
|
TimeManager.OnDayChanged += AddDay;
|
|
}
|
|
private void AddDay()
|
|
{
|
|
daysSincePlanted++;
|
|
}
|
|
|
|
public override void OnPlace()
|
|
{
|
|
|
|
}
|
|
} |