diff --git a/PeopleVille/Person/Person.cs b/PeopleVille/Person/Person.cs index add620d..e1a49ce 100644 --- a/PeopleVille/Person/Person.cs +++ b/PeopleVille/Person/Person.cs @@ -7,12 +7,15 @@ namespace PeopleVille.Persons { public string Name { get; set; } public int Health { get; set; } - public List Inventory { get; set; } = new List(); // 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 Inventory { get; set; } = []; + public object Location { get; set; } public int Money { get; set; } public int Age { get; set; } public Location CurrentLocation { get; set; } - + public void Walk(Location newLocation) {