JSDoc fixes

This commit is contained in:
Richard Davey 2020-11-23 10:19:39 +00:00
parent 5ca5a63038
commit d852108154
3 changed files with 4 additions and 4 deletions

View file

@ -332,7 +332,7 @@ var Config = new Class({
}
/**
* @const {?Phaser.Types.Core.FPSConfig} Phaser.Core.Config#fps - The Frame Rate Configuration object, as parsed by the Timestep class.
* @const {Phaser.Types.Core.FPSConfig} Phaser.Core.Config#fps - The Frame Rate Configuration object, as parsed by the Timestep class.
*/
this.fps = GetValue(config, 'fps', null);
@ -342,7 +342,7 @@ var Config = new Class({
var renderConfig = GetValue(config, 'render', config);
/**
* @const {?Phaser.Types.Core.PipelineConfig)} Phaser.Core.Config#pipeline - An object mapping WebGL names to WebGLPipeline classes. These should be class constructors, not instances.
* @const {Phaser.Types.Core.PipelineConfig)} Phaser.Core.Config#pipeline - An object mapping WebGL names to WebGLPipeline classes. These should be class constructors, not instances.
*/
this.pipeline = GetValue(renderConfig, 'pipeline', null);

View file

@ -16,7 +16,7 @@ var TileToWorldX = require('./TileToWorldX');
*
* @param {number} orientation - The Tilemap orientation constant.
*
* @return {Phaser.Tilemaps.Components.TileToWorldX)} The function to use to translate tiles for the given map type.
* @return {Phaser.Tilemaps.Components.TileToWorldX} The function to use to translate tiles for the given map type.
*/
var GetTileToWorldXFunction = function (orientation)
{

View file

@ -16,7 +16,7 @@ var WorldToTileX = require('./WorldToTileX');
*
* @param {number} orientation - The Tilemap orientation constant.
*
* @return {Phaser.Tilemaps.Components.WorldToTileX)} The function to use to translate tiles for the given map type.
* @return {Phaser.Tilemaps.Components.WorldToTileX} The function to use to translate tiles for the given map type.
*/
var GetWorldToTileXFunction = function (orientation)
{