Add project files.
This commit is contained in:
20
RPGLibrary.Implementation/Attribute/StrengthAttribute.cs
Normal file
20
RPGLibrary.Implementation/Attribute/StrengthAttribute.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using RPGLibrary.Abstraction.Attribute;
|
||||
|
||||
namespace RPGLibrary.Implementation
|
||||
{
|
||||
public class StrengthAttribute : IAttribute
|
||||
{
|
||||
public StrengthAttribute(double value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
|
||||
public double Value { get; }
|
||||
|
||||
public override string? ToString()
|
||||
{
|
||||
return $"Strength: {Value}";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user