auto map test

This commit is contained in:
辉鸭蛋
2024-06-06 00:44:52 +08:00
parent a141bf459c
commit fc5d37670c
8 changed files with 173 additions and 40 deletions

View File

@@ -22,11 +22,11 @@ public class GiPathPoint
public static GiPathPoint BuildFrom(Rect matchRect, int index)
{
var pt = MapCoordinate.Main1024ToGame(matchRect.GetCenterPoint());
var pt = MapCoordinate.Main2048ToGame(matchRect.GetCenterPoint());
return new GiPathPoint
{
Pt = pt,
MatchRect = new Rect(pt, matchRect.Size),
MatchRect = matchRect,
Index = index,
Time = DateTime.Now
};