1
0
Fork 0
Bildschirmflausch-LD41/Assets/Scripts/Entities/Entity.cs

21 lines
475 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Entity : MonoBehaviour {
public enum Entities {
SCORPION,
BUG,
COIN
}
protected EntityObjective objective;
/// <summary>
/// Sets the Objective this Entity is associated with.
/// </summary>
/// <param name="obj">Objective</param>
public void SetObjective(EntityObjective obj) {
objective = obj;
}
}