Fully refactored action handling
This commit is contained in:
parent
561b56ae84
commit
a5ded24c36
11 changed files with 169 additions and 26 deletions
|
|
@ -5,6 +5,7 @@ using UnityEngine.PlayerLoop;
|
|||
using Random = UnityEngine.Random;
|
||||
|
||||
namespace DefaultNamespace {
|
||||
[Obsolete("Use ActionManager.HandleAction() instead", true)]
|
||||
public class ActionInvoker {
|
||||
public static void InvokeAction(GameObject gameObject, UsableItem usableItem) {
|
||||
Type tileType = gameObject.GetComponent<TileBehaviour>().Tile.GetType();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue