update person
This commit is contained in:
@@ -7,12 +7,15 @@ namespace PeopleVille.Persons
|
|||||||
{
|
{
|
||||||
public string Name { get; set; }
|
public string Name { get; set; }
|
||||||
public int Health { get; set; }
|
public int Health { get; set; }
|
||||||
public List<IEquipment> Inventory { get; set; } = new List<IEquipment>(); // hellere at de starter med tomt inventory end et inventory der ikke eksisterer.
|
|
||||||
|
// hellere at de starter med tomt inventory end et inventory der ikke eksisterer.
|
||||||
|
public List<IEquipment> Inventory { get; set; } = [];
|
||||||
|
|
||||||
public object Location { get; set; }
|
public object Location { get; set; }
|
||||||
public int Money { get; set; }
|
public int Money { get; set; }
|
||||||
public int Age { get; set; }
|
public int Age { get; set; }
|
||||||
public Location CurrentLocation { get; set; }
|
public Location CurrentLocation { get; set; }
|
||||||
|
|
||||||
|
|
||||||
public void Walk(Location newLocation)
|
public void Walk(Location newLocation)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user