新增a*寻路
This commit is contained in:
9
source/src/Math/Point.ts
Normal file
9
source/src/Math/Point.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
class Point {
|
||||
public x: number;
|
||||
public y: number;
|
||||
|
||||
constructor(x: number, y: number){
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user