using System; using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VPet_Simulator.Core { /// /// 桌宠控制器 /// public abstract class IController { /// /// 移动桌宠位置 /// /// X轴 /// Y轴 public abstract void MoveWindows(double X, double Y); /// /// 获取桌宠距离左侧的位置 /// public abstract double GetWindowsDistanceLeft(); /// /// 获取桌宠距离右侧的位置 /// public abstract double GetWindowsDistanceRight(); /// /// 获取桌宠距离上方的位置 /// public abstract double GetWindowsDistanceUp(); /// /// 获取桌宠距离下方的位置 /// public abstract double GetWindowsDistanceDown(); /// /// 窗体宽度 /// public abstract double WindowsWidth { get; set; } /// /// 窗体高度 /// public abstract double WindowsHight { get; set; } } }