// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. namespace osu.Framework.Graphics.Animations { /// /// An animation with well-defined frames. /// public interface IFramedAnimation : IAnimation { /// /// The number of frames this animation has. /// int FrameCount { get; } /// /// The currently visible frame's index. /// int CurrentFrameIndex { get; } /// /// Displays the frame with the given zero-based frame index. /// /// The zero-based index of the frame to display. void GotoFrame(int frameIndex); } }