mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 06:30:38 +00:00
TS defs fix #2754
This commit is contained in:
parent
49c9176f6c
commit
604da9ebc8
3 changed files with 3 additions and 3 deletions
|
@ -323,7 +323,7 @@ You can read all about the philosophy behind Lazer [here](http://phaser.io/news/
|
|||
|
||||
### Updates
|
||||
|
||||
* TypeScript definitions fixes and updates (thanks @chriteixeira @StealthC @Lopdo)
|
||||
* TypeScript definitions fixes and updates (thanks @chriteixeira @StealthC @Lopdo @nickdbush)
|
||||
* Docs typo fixes (thanks @JTronLabs @samme @jorgesumle)
|
||||
* `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)
|
||||
* Updated the pointer check code in the Device class, to get rid of the message `Navigator.pointerEnabled is a non-standard API added for experiments only. It will be removed in near future.` in Chrome.
|
||||
|
|
|
@ -176,7 +176,7 @@ Phaser.Frame.prototype = {
|
|||
|
||||
/**
|
||||
* Clones this Frame into a new Phaser.Frame object and returns it.
|
||||
* Note that all properties are cloned, including the name, index and UUID.
|
||||
* Note that all properties are cloned, including the name and index.
|
||||
*
|
||||
* @method Phaser.Frame#clone
|
||||
* @return {Phaser.Frame} An exact copy of this Frame object.
|
||||
|
|
2
typescript/phaser.d.ts
vendored
2
typescript/phaser.d.ts
vendored
|
@ -4096,7 +4096,7 @@ declare module Phaser {
|
|||
sow(seeds: any[]): void;
|
||||
state(state?: string): string;
|
||||
timestamp(min: number, max: number): number;
|
||||
uuid(): number;
|
||||
uuid(): string;
|
||||
weightedPick<T>(ary: T[]): T;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue