Skip to content

Commit 17f8181

Browse files
committed
Defs update phaserjs#2747
1 parent c42c447 commit 17f8181

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
317317

318318
### Updates
319319

320-
* TypeScript definitions fixes and updates (thanks @chriteixeira)
320+
* TypeScript definitions fixes and updates (thanks @chriteixeira @StealthC)
321321
* Docs typo fixes (thanks @JTronLabs @samme)
322322
* `Phaser.Line.fromSprite` now uses the Sprite.centerX and centerY properties if the `useCenter` argument is true. Before it required you to have overridden the Sprite and added the property yourself (thanks @samme #2729)
323323
*

typescript/phaser.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2584,6 +2584,7 @@ declare module Phaser {
25842584
static fuzzyFloor(val: number, epsilon?: number): boolean;
25852585
static fuzzyGreaterThan(a: number, b: number, epsilon?: number): boolean;
25862586
static fuzzyLessThan(a: number, b: number, epsilon?: number): boolean;
2587+
static getShortestAngle(angle1: number, angle2: number): number;
25872588
static isEven(n: number): boolean;
25882589
static isOdd(n: number): boolean;
25892590
static linear(p0: number, p1: number, t: number): number;

0 commit comments

Comments
 (0)