phaser/v3/src/gameobjects/bitmaptext/static/BitmapTextFactory.js

8 lines
208 B
JavaScript

var BitmapText = require('./BitmapText');
var BitmapTextFactory = function (state, x, y, font, text, size)
{
return new BitmapText(state, x, y, font, text, size);
};
module.exports = BitmapTextFactory;