Added Documentation

This commit is contained in:
janis
2022-02-15 16:02:22 +01:00
parent 93baa58c15
commit c485401c58
5 changed files with 172 additions and 16 deletions

View File

@@ -2,8 +2,9 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TreeInteraction : Interactable
public class TreeInteraction : Harvestable
{
public override string GetDescription()
{
if (isInRange())
@@ -13,9 +14,6 @@ public class TreeInteraction : Interactable
}
public override void Interact()
{
if (isInRange())
Debug.Log("AaaaaaaaaaAaAAaAaAAaAaAaaaaaaaaaaaaaaaaaahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh");
else
Debug.Log("Tree is not in range");
Debug.Log("Harvest BAUM");
}
}