mirror of
https://github.com/photonstorm/phaser
synced 2024-12-27 05:23:28 +00:00
18 lines
263 B
JavaScript
18 lines
263 B
JavaScript
|
// Texture Component
|
||
|
|
||
|
var Texture = function (gameObject, texture, frame)
|
||
|
{
|
||
|
this.gameObject = gameObject;
|
||
|
|
||
|
this.texture = texture;
|
||
|
|
||
|
this.frame = frame;
|
||
|
};
|
||
|
|
||
|
Texture.prototype.constructor = Texture;
|
||
|
|
||
|
Texture.prototype = {
|
||
|
};
|
||
|
|
||
|
module.exports = Texture;
|