Skip to content

Commit 401cb81

Browse files
committed
Fixed this return type for Phaser.GameObjects.DynamicBitmapText
1 parent f970afb commit 401cb81

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/gameobjects/bitmaptext/dynamic/DynamicBitmapText.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ var DynamicBitmapText = new Class({
155155
* @param {number} width - The width of the crop.
156156
* @param {number} height - The height of the crop.
157157
*
158-
* @return {Phaser.GameObjects.DynamicBitmapText} This Game Object.
158+
* @return {this} This Game Object.
159159
*/
160160
setSize: function (width, height)
161161
{
@@ -179,7 +179,7 @@ var DynamicBitmapText = new Class({
179179
*
180180
* @param {Phaser.Types.GameObjects.BitmapText.DisplayCallback} callback - The display callback to set.
181181
*
182-
* @return {Phaser.GameObjects.DynamicBitmapText} This Game Object.
182+
* @return {this} This Game Object.
183183
*/
184184
setDisplayCallback: function (callback)
185185
{
@@ -196,7 +196,7 @@ var DynamicBitmapText = new Class({
196196
*
197197
* @param {number} value - The horizontal scroll position to set.
198198
*
199-
* @return {Phaser.GameObjects.DynamicBitmapText} This Game Object.
199+
* @return {this} This Game Object.
200200
*/
201201
setScrollX: function (value)
202202
{
@@ -213,7 +213,7 @@ var DynamicBitmapText = new Class({
213213
*
214214
* @param {number} value - The vertical scroll position to set.
215215
*
216-
* @return {Phaser.GameObjects.DynamicBitmapText} This Game Object.
216+
* @return {this} This Game Object.
217217
*/
218218
setScrollY: function (value)
219219
{

0 commit comments

Comments
 (0)