2018-04-21 12:22:17 +02:00
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
2018-04-22 15:59:14 +02:00
|
|
|
|
public abstract class Entity : MonoBehaviour {
|
|
|
|
|
protected EntityObjective objective;
|
2018-04-21 12:22:17 +02:00
|
|
|
|
|
2018-04-22 15:59:14 +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
|
|
|
|
}
|