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

23 lines
491 B
C#
Raw Normal View History

2018-04-21 12:22:17 +02:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class Entity : MonoBehaviour {
public enum Entities {
SCORPION,
BUG,
2018-04-24 02:51:35 +02:00
COIN,
SPIDER
}
protected EntityObjective objective;
2018-04-21 12:22:17 +02:00
/// <summary>
/// Sets the Objective this Entity is associated with.
/// </summary>
/// <param name="obj">Objective</param>
public void SetObjective(EntityObjective obj) {
objective = obj;
}
2018-04-21 12:22:17 +02:00
}