phaser/v3/merge/components/Component.js

13 lines
338 B
JavaScript
Raw Normal View History

2016-10-09 22:39:27 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2016 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
Phaser.Component = function (gameObject)
{
this.gameObject = gameObject;
};
Phaser.Component.prototype.constructor = Phaser.Component;