withModifications

fun withModifications(animation: String = this.animationName, colors: List<ColorContainerInterface> = this.colors, id: String = this.id, section: String = this.section, runCount: Int = this.runCount, intParamMods: Map<String, Int> = mapOf(), doubleParamMods: Map<String, Double> = mapOf(), stringParamMods: Map<String, String> = mapOf(), locationParamMods: Map<String, Location> = mapOf(), distanceParamMods: Map<String, Distance> = mapOf(), rotationParamMods: Map<String, Rotation> = mapOf(), equationParamMods: Map<String, Equation> = mapOf()): AnimationToRunParams

Create a new AnimationToRunParams instance with the values in this RunningAnimationParams, unless if specified otherwise