phaser/v3/src/gameobjects/text/static/TextFactory.js

9 lines
168 B
JavaScript
Raw Normal View History

var Text = require('./Text');
var TextFactory = function (state, x, y, text, style)
{
return new Text(state, x, y, text, style);
};
module.exports = TextFactory;