ISelectableObject.cs 419 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace KairoEngine.GameTools.Selectables
  5. {
  6. /// <summary>
  7. /// An interface that represents and object that can be selected and has actions.
  8. /// </summary>
  9. public interface ISelectableObject
  10. {
  11. List<SelectableObjectAction> actions { get; }
  12. void ExecuteAction(SelectableObjectAction action);
  13. }
  14. }