Files
SimUL/Assets/Scripts/Actions/Relax.cs
T
Vladimir Koshevarov 73f06d8754 added tooltips
2022-11-29 19:09:00 +02:00

21 lines
569 B
C#

using Assets.Scripts.Actions.Interfaces;
namespace Assets.Scripts.Actions
{
public class Relax : IPlayerAction
{
private int _energyPerTick;
public Relax(int duration, int energyPerTick)
{
_energyPerTick = energyPerTick;
}
public string Description => throw new System.NotImplementedException();
public void ApplyAction(PlayerManager playerController)
{
playerController.PlayerStats[GameManager.StatsId.Energy].increase(_energyPerTick);
}
}
}