phaser/v3/src/gameobjects/sprite/SpriteFactory.js

9 lines
176 B
JavaScript
Raw Normal View History

2017-01-24 18:08:56 +00:00
var Sprite = require('./Sprite');
var SpriteFactory = function (scene, x, y, key, frame)
{
return new Sprite(scene, x, y, key, frame);
2017-01-24 18:08:56 +00:00
};
module.exports = SpriteFactory;