Parameters: LandArray * frames
Returns: LandAnimation*
Ownership of the frames array is transferred to the animation - destroying the animation later will destroy the array.
Parameters: LandAnimation * self
Parameters: LandAnimation * self, int i
Returns: LandImage*
Returns: int
Parameters: LandAnimation * self, LandImage * frame
Parameters: char const * pattern, void(* cb)(LandImage * image, void * data), void * data
Create a new animation from all files matching the pattern, sorted alphabetically. The callback function, if present, is called on each frame.
Parameters: LandAnimation * self, int i, float x, float y
Parameters: LandAnimation * self, int i, float x, float y, float angle
Parameters: LandAnimation * self, int i, float x, float y, float xs, float ys, float angle
Assuming the animation is like this make it -> like this: 1 -> 1 1 2 -> 1 2 1 2 3 -> 1 2 3 2 1 2 3 4 -> 1 2 3 4 3 2 1 2 3 4 5 -> 1 2 3 4 5 4 3 2 …