simple auto tracking

This commit is contained in:
辉鸭蛋
2024-06-10 13:52:12 +08:00
parent a8d07823f2
commit 577abec2d2
6 changed files with 131 additions and 23 deletions

View File

@@ -20,6 +20,16 @@ public class GiPathPoint
public DateTime Time { get; set; }
/// <summary>
/// 下个点位相对本点位的角度
/// </summary>
public int NextAngle { get; set; }
/// <summary>
/// 下个点位相对本点位的距离
/// </summary>
public int NextDistance { get; set; }
public static GiPathPoint BuildFrom(Rect matchRect, int index)
{
var pt = MapCoordinate.Main2048ToGame(matchRect.GetCenterPoint());