mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +00:00
parent
1dc1dacb35
commit
15a695a80f
2 changed files with 7 additions and 6 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
### Updates
|
||||
|
||||
* Clarification of time units in Phaser.Sound
|
||||
* Clarification of `group.exists` behavior
|
||||
* Clarification of fixedToCamera semantics
|
||||
* change Emitter.gravity from number to Phaser.Point
|
||||
|
|
|
@ -62,13 +62,13 @@ Phaser.Sound = function (game, key, volume, loop, connect) {
|
|||
this.totalDuration = 0;
|
||||
|
||||
/**
|
||||
* @property {number} startTime - The time the Sound starts at (typically 0 unless starting from a marker)
|
||||
* @property {number} startTime - The time the sound starts at in ms (typically 0 unless starting from a marker).
|
||||
* @default
|
||||
*/
|
||||
this.startTime = 0;
|
||||
|
||||
/**
|
||||
* @property {number} currentTime - The current time the sound is at.
|
||||
* @property {number} currentTime - The current time of sound playback in ms.
|
||||
*/
|
||||
this.currentTime = 0;
|
||||
|
||||
|
@ -83,12 +83,12 @@ Phaser.Sound = function (game, key, volume, loop, connect) {
|
|||
this.durationMS = 0;
|
||||
|
||||
/**
|
||||
* @property {number} position - The position of the current sound marker.
|
||||
* @property {number} position - The position of the current sound marker in ms.
|
||||
*/
|
||||
this.position = 0;
|
||||
|
||||
/**
|
||||
* @property {number} stopTime - The time the sound stopped.
|
||||
* @property {number} stopTime - The time the sound stopped in ms.
|
||||
*/
|
||||
this.stopTime = 0;
|
||||
|
||||
|
@ -99,12 +99,12 @@ Phaser.Sound = function (game, key, volume, loop, connect) {
|
|||
this.paused = false;
|
||||
|
||||
/**
|
||||
* @property {number} pausedPosition - The position the sound had reached when it was paused.
|
||||
* @property {number} pausedPosition - The position the sound had reached when it was paused in ms.
|
||||
*/
|
||||
this.pausedPosition = 0;
|
||||
|
||||
/**
|
||||
* @property {number} pausedTime - The game time at which the sound was paused.
|
||||
* @property {number} pausedTime - The game time (ms) at which the sound was paused.
|
||||
*/
|
||||
this.pausedTime = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue