using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using static VPet_Simulator.Core.GraphCore;
namespace VPet_Simulator.Core
{
///
/// 动画显示接口
///
public interface IGraph
{
///
/// 从0开始运行该动画
///
void Run(Action EndAction = null);
///
/// 当前动画播放状态
///
bool PlayState { get; set; }
///
/// 是否循环播放
///
bool IsLoop { get; set; }
///
/// 是否继续播放
///
bool IsContinue { get; set; }
///
/// 是否储存到内存以支持快速显示
///
bool StoreMemory { get; }
///
/// 该动画UI状态
///
Save.ModeType ModeType { get;}
///
/// 该动画UI状态
///
GraphType GraphType { get; }
///
/// 当前UI
///
UIElement This { get; }
///
/// 停止动画
///
/// 停止动画时是否允许执行停止帧
void Stop(bool StopEndAction = false);
}
}