mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
Leaderboard
extends Event Emitter, which was missing in the TypeScript defs. Fix #4703
This commit is contained in:
parent
9485eef5c7
commit
c59aa16bb4
2 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
* Calling `gameStarted` in a game that doesn't load any assets would cause the error `{code: "INVALID_OPERATION", message: "Can not perform this operation before game start."}`. The plugin will now has a new internal method `gameStartedHandler` and will redirect the flow accordingly based on asset loading. Fix #4550 (thanks @bchee)
|
||||
* The documentation for the `chooseContext` method has been fixed. Fix #4425 (thanks @krzysztof-grzybek)
|
||||
* `Leaderboard.getConnectedScores` incorrectly specified two parameters, neither of which were used. Fix #4702 (thanks @NokFrt)
|
||||
* `Leaderboard` extends Event Emitter, which was missing in the TypeScript defs. Fix #4703 (thanks @NokFrt)
|
||||
|
||||
### New Features
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ var LeaderboardScore = require('./LeaderboardScore');
|
|||
* @class FacebookInstantGamesLeaderboard
|
||||
* @memberOf Phaser
|
||||
* @constructor
|
||||
* @extends Phaser.Events.EventEmitter
|
||||
* @since 3.13.0
|
||||
*
|
||||
* @param {Phaser.FacebookInstantGamesPlugin} plugin - A reference to the Facebook Instant Games Plugin.
|
||||
|
|
Loading…
Reference in a new issue