Walk() Update

This commit is contained in:
aqys
2026-03-25 12:01:51 +01:00
parent 74c3201555
commit c37d657bd0

View File

@@ -1,4 +1,5 @@
using PeopleVille.Equipment; using PeopleVille.Equipment;
using PeopleVille.Locations;
namespace PeopleVille.Persons namespace PeopleVille.Persons
{ {
@@ -10,11 +11,12 @@ namespace PeopleVille.Persons
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 void Walk(object location) public void Walk(Location newLocation)
{ {
this.Location = location; this.CurrentLocation = newLocation;
} }
} }
} }