Пример #1
0
 public string RunAndGetResult()
 {
     ActionList.ForEach(actionType =>
     {
         ActionFactory.GetActionByType(actionType).Action(this);
     });
     return($"{Coordinates} {Direction}");
 }