internal ProjectileMotionTrajectory(ProjectileMotionSettings settings) { Settings = settings; }
/// <summary> /// Constructor for a projectile motion. /// </summary> /// <param name="settings">Settings object for projectile motion. It cannot be null.</param> public ProjectileMotion(ProjectileMotionSettings settings) { Settings = settings ?? throw new ArgumentNullException(nameof(settings), "Settings object cannot be null."); Trajectory = new ProjectileMotionTrajectory(Settings); Saving = new ProjectileMotionFilesSaving(this); }