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 (state, x, y, key, frame)
{
return new Sprite(state, x, y, key, frame);
2017-01-24 18:08:56 +00:00
};
module.exports = SpriteFactory;