protected override void ConfigureParameter(string para, object value) { switch (para) { case "startloc": if (movement != null) { movement.SetStartLocation(value as string); } break; case "waypoints": if (movement != null) { movement.SetWaypoints(value as string); } break; case "name": id = value as string; break; default: break; } }