public HashSet<Action> actions(System.Object state)
{
HashSet<Action> actions = new LinkedHashSet<Action>();
System.String location = state.ToString();
List<System.String> linkedLocations = map.getLocationsLinkedTo(location);
foreach (System.String linkLoc in linkedLocations)
{
actions.Add(new MoveToAction(linkLoc));
}
return actions;
}
}