GameLib.D3.Entity = function( meshId, componentIds ) { this.meshId = meshId; if (typeof componentIds == 'undefined') { componentIds = []; } this.componentIds = componentIds; };