新增a*寻路

This commit is contained in:
yhh
2020-06-09 19:45:09 +08:00
parent 9e0d14da7c
commit 0fd33be5f9
14 changed files with 998 additions and 3 deletions

9
source/src/Math/Point.ts Normal file
View File

@@ -0,0 +1,9 @@
class Point {
public x: number;
public y: number;
constructor(x: number, y: number){
this.x = x;
this.y = y;
}
}