start to change action system
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user