GameManager.attributes.add('player', { type: 'asset', assetType: 'template'});
GameManager.prototype.initialize = function() {
//instantiate player
var newPlayer = this.player.resource.instantiate();
this.app.root.addChild(newPlayer);
};
GameManager.prototype.initialize = function() {
//instantiate template
var templateAsset = this.app.assets.get(templateAssetId);
var instance = templateAsset.resource.instantiate();
this.app.root.addChild(instance);
};