Adding assignments
This commit is contained in:
17
RPG/Mage.cs
Normal file
17
RPG/Mage.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace OOP.RPG
|
||||
{
|
||||
public class Mage : Character
|
||||
{
|
||||
public Mage(int Mana)
|
||||
{
|
||||
this.Mana = Mana;
|
||||
}
|
||||
|
||||
public int Mana = 10;
|
||||
|
||||
public override int Attack()
|
||||
{
|
||||
return Mana / 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user