phaser/v3/src/gameobjects/quad/QuadFactory.js

9 lines
166 B
JavaScript
Raw Normal View History

2017-05-19 19:07:30 +00:00
var Quad = require('./Quad');
var QuadFactory = function (scene, x, y, key, frame)
{
return new Quad(scene, x, y, key, frame);
2017-05-19 19:07:30 +00:00
};
module.exports = QuadFactory;