14 lines
287 B
C#

using UnityEngine;
using System.Collections;
using System;
public abstract class Action : MonoBehaviour
{
public virtual bool ExecuteAction(GameObject other)
{
//the return value indicates if the action has been successful
//some actions always return true
return true;
}
}