private static string ModifyMessage(string description, GameActionExtended action) { return("Action " + action.Name + ": " + description); }
public ActionException(string description, GameActionExtended action) : base(ModifyMessage(description, action)) { this.Action = action; }