Move Location case added
This commit is contained in:
@@ -55,7 +55,10 @@ namespace PeopleVille.Persons
|
|||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
//Move location
|
//Move location
|
||||||
break;
|
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:
|
case 3:
|
||||||
//Do nothing
|
//Do nothing
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user