Example #1
0
 internal ProjectileMotionTrajectory(ProjectileMotionSettings settings)
 {
     Settings = settings;
 }
Example #2
0
 /// <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);
 }