// Copyright (c) Craftwork Games. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
namespace MonoGame.Extended.Animations;
///
/// Defines the interface for an animation frame, specifying the frame index and its duration.
///
public interface IAnimationFrame
{
///
/// Gets the frame index represented by this animation frame.
///
int FrameIndex { get; }
///
/// Gets the total duration this frame should be displayed during an animation.
///
TimeSpan Duration { get; }
}