helpers no longer components - it causes unnecessary register updates

beta.r3js.org
-=yb4f310 2017-08-30 21:33:07 +02:00
parent 734a14b107
commit 612f426c3b
1 changed files with 6 additions and 4 deletions

View File

@ -71,10 +71,12 @@ GameLib.D3.Helper = function(
}
this.parentEntity = parentEntity;
GameLib.Component.call(
this,
GameLib.Component.COMPONENT_HELPER
);
this.instance = this.createInstance();
// GameLib.Component.call(
// this,
// GameLib.Component.COMPONENT_HELPER
// );
};
GameLib.D3.Helper.prototype = Object.create(GameLib.Component.prototype);