mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Fixed declarations of Phaser.Plugin.AStar in phaser.d.ts.
This commit is contained in:
parent
9aa52b5c0a
commit
a2da3c46d3
1 changed files with 4 additions and 4 deletions
8
v2-community/typescript/phaser.d.ts
vendored
8
v2-community/typescript/phaser.d.ts
vendored
|
@ -3663,8 +3663,8 @@ declare module Phaser {
|
|||
class AStar extends Phaser.Plugin {
|
||||
|
||||
static VERSION: string;
|
||||
static COST_ORTHAGONAL: number;
|
||||
static COST_DIAGAONAL: number;
|
||||
static COST_ORTHOGONAL: number;
|
||||
static COST_DIAGONAL: number;
|
||||
static DISTANCE_MANHATTEN: string;
|
||||
static DISTANCE_EUCLIDIAN: string;
|
||||
|
||||
|
@ -3698,9 +3698,9 @@ declare module Phaser {
|
|||
|
||||
class AStarPath {
|
||||
|
||||
constructor(nodes: Phaser.Plugin.AStar.AStarNode[], start: Phaser.Plugin.AStar.AStarNode, goal: Phaser.Plugin.AStar.AStarNode);
|
||||
constructor(nodes?: {x: number, y: number}[], start?: Phaser.Plugin.AStar.AStarNode, goal?: Phaser.Plugin.AStar.AStarNode);
|
||||
|
||||
nodes: Phaser.Plugin.AStar.AStarNode[];
|
||||
nodes: {x: number, y: number}[];
|
||||
start: Phaser.Plugin.AStar.AStarNode;
|
||||
goal: Phaser.Plugin.AStar.AStarNode;
|
||||
visited: Phaser.Plugin.AStar.AStarNode[];
|
||||
|
|
Loading…
Reference in a new issue