1
0
Fork 0
Bildschirmflausch-LD41/Assets/Scripts/Entities/Entity.cs
2018-04-24 03:39:51 +02:00

22 lines
491 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Entity : MonoBehaviour {
public enum Entities {
SCORPION,
BUG,
COIN,
SPIDER
}
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;
}
}