phaser/wip/components/Component.js
2018-01-09 22:12:16 +00:00

12 lines
338 B
JavaScript

/**
* @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;