Fully refactored action handling
This commit is contained in:
parent
561b56ae84
commit
a5ded24c36
11 changed files with 169 additions and 26 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Actions;
|
||||
using DefaultNamespace;
|
||||
using UnityEngine;
|
||||
using Object = System.Object;
|
||||
|
|
@ -59,6 +60,6 @@ public class Animal : MonoBehaviour {
|
|||
private void OnMouseDown() {
|
||||
//TODO: TEMP!!!!
|
||||
Destroy(gameObject);
|
||||
ActionInvoker.InvokeAction(gameObject, PlayerController.instance.SelectedItem);
|
||||
//ActionManager.Instance.HandleAction(gameObject, PlayerController.instance.SelectedItem);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue