start to change action system

This commit is contained in:
Vladimir Koshevarov
2022-08-18 16:07:06 +03:00
parent a9e1db4ac2
commit 9366aa479c
11 changed files with 31 additions and 49 deletions
+5
View File
@@ -1,3 +1,4 @@
using Assets.Scripts.Actions;
using UnityEngine;
public class PlayerController : MonoBehaviour
@@ -61,5 +62,9 @@ public class PlayerController : MonoBehaviour
Clock = 24;
}
public void TryBuyAction(BaseAction action)
{
action.ApplyAction(this);
}
}