Making sure it uses Microsoft Code Convention

This commit is contained in:
2025-08-18 10:33:44 +02:00
parent 7b723f25f6
commit 16fc35e161
10 changed files with 36 additions and 36 deletions

View File

@@ -4,16 +4,16 @@ namespace OOP.RPG
{
public Warrior(int strength)
{
this.strength = strength;
Strength = strength;
}
public int strength = 10;
public int Strength { get; set; } = 10;
public int multiplier = 2;
public int Multiplier { get; set; } = 2;
public override int Attack()
{
return base.Attack() * multiplier;
return base.Attack() * Multiplier;
}
}
}