Move Location case added
This commit is contained in:
@@ -55,6 +55,9 @@ namespace PeopleVille.Persons
|
||||
break;
|
||||
case 2:
|
||||
//Move location
|
||||
var otherLocations = World.Locations.Where(x => x != CurrentLocation).ToList();
|
||||
if (otherLocations.Count > 0)
|
||||
Walk(otherLocations[RNG.ThrowDice(new Die(otherLocations.Count)) - 1]);
|
||||
break;
|
||||
case 3:
|
||||
//Do nothing
|
||||
|
||||
Reference in New Issue
Block a user