Davide Tantillo 93c56d08d0 c3 backup
2025-11-03 15:16:29 +01:00

17 lines
536 B
TypeScript

/** Represents an animation in an object type.
* @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/ianimation | IAnimation documentation } */
declare class IAnimation
{
readonly name: string;
readonly speed: number;
readonly isLooping: boolean;
readonly repeatCount: number;
readonly repeatTo: number;
readonly isPingPong: boolean;
readonly frameCount: number;
getFrames(): IAnimationFrame[];
frames(): Generator<IAnimationFrame>;
}