Wave of item effects and implementation
This commit is contained in:
@@ -15,4 +15,6 @@ public interface IAttackComponent : IEntityComponent
|
||||
public void SetAttack(int attack);
|
||||
|
||||
public void RaiseMaximumAttack(int raiseAmount);
|
||||
|
||||
public void LowerMaximumAttack(int lowerAmount);
|
||||
}
|
||||
|
||||
@@ -15,4 +15,6 @@ public interface IDefenseComponent : IEntityComponent
|
||||
public void SetDefense(int attack);
|
||||
|
||||
public void RaiseMaximumDefense(int raiseAmount);
|
||||
|
||||
public void LowerMaximumDefense(int lowerAmount);
|
||||
}
|
||||
|
||||
@@ -20,5 +20,9 @@ public interface IExperiencePointsComponent : IEntityComponent
|
||||
|
||||
public void LevelUp();
|
||||
|
||||
public void LevelDown();
|
||||
|
||||
public event Action PlayerLevelUp;
|
||||
|
||||
public event Action PlayerLevelDown;
|
||||
}
|
||||
|
||||
@@ -22,4 +22,6 @@ public interface IHealthComponent : IEntityComponent
|
||||
public void SetMaximumHealth(int health);
|
||||
|
||||
public void RaiseMaximumHP(int raiseAmount, bool restoreHP = false);
|
||||
|
||||
public void LowerMaximumHP(int lowerAmount);
|
||||
}
|
||||
@@ -7,4 +7,6 @@ public interface ILuckComponent : IEntityComponent
|
||||
public IAutoProp<int> Luck { get; }
|
||||
|
||||
public void IncreaseLuck(int value);
|
||||
|
||||
void DecreaseLuck(int value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user