Files
GameJamDungeon/Zennysoft.Game.Ma.Implementation/Components/IExperiencePointsComponent.cs

19 lines
381 B
C#

using Chickensoft.Collections;
namespace Zennysoft.Ma.Adapter;
public interface IExperiencePointsComponent : IEntityComponent
{
public IAutoProp<int> CurrentExp { get; }
public IAutoProp<int> ExpToNextLevel { get; }
public IAutoProp<double> ExpGainRate { get; }
public IAutoProp<int> Level { get; }
public void Gain(int baseExpGain);
public void LevelUp();
}