Motion constructor

Motion(
  1. Frame frame
)

Initializes the Motion class with a Frame instance.

Args: frame (Frame): The Frame instance to associate with the Motion class.

Implementation

Motion(this.frame);