Adding assignments
This commit is contained in:
13
RPG/Character.cs
Normal file
13
RPG/Character.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace OOP.RPG
|
||||
{
|
||||
public class Character
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Health { get; set; } = 100;
|
||||
|
||||
public virtual int Attack()
|
||||
{
|
||||
return 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user