using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using static VPet_Simulator.Core.GraphCore;
namespace VPet_Simulator.Core
{
///
/// 动画显示接口
///
public interface IGraph
{
///
/// 从0开始运行该动画
///
void Run(Border parant, Action EndAction = null);
///
/// 当前动画播放状态
///
bool PlayState { get; set; }
///
/// 是否循环播放
///
bool IsLoop { get; set; }
///
/// 是否继续播放
///
bool IsContinue { get; set; }
///
/// 从0开始运行该动画, 等待部署完成后执行
///
void WaitForReadyRun(Border parant, Action EndAction = null);
///// //经过测试,储存到内存好处多多,不储存也要占用很多内存,干脆存了吧
///// 是否储存到内存以支持快速显示
/////
//bool StoreMemory { get; }
///
/// 该动画模式
///
GameSave.ModeType ModeType { get; }
///
/// 该动画类型
///
GraphType GraphType { get; }
///
/// 停止动画
///
/// 停止动画时是否允许执行停止帧
void Stop(bool StopEndAction = false);
}
}