GMovieClip constructor
Creates a new movie clip object with the specified frames and frames per second.
frames
is a list of textures to use for the frames of the movie clip.
fps
is the desired frames per second for the movie clip. The default is
30.
Implementation
GMovieClip({required List<GTexture> frames, double fps = 30}) {
setFrameTextures(frames);
this.fps = fps;
}