src/drawable/inventory.js
/**
 * Creates the outer "shell" for an xm item.
 *
 * @private
 * @param  {String} name Internal name of the mesh
 * @return {itembase}    A BicoloredDrawable with the specified mesh name
 *                       and the flipcard texture
 */
Creates the outer "shell" for an xm item.
@private
@param  {String} name Internal name of the mesh
@return {itembase}    A BicoloredDrawable with the specified mesh name
and the flipcard texture
Creates the outer " shell " for an xm item . @private @param { String } name Internal name of the mesh @return { itembase } A BicoloredDrawable with the specified mesh name and the flipcard texture
function createShell(name) {
  class itembase extends BicoloredDrawable {
    constructor() {
      super(meshes[name], textures.FlipCard);
    }
  }
  return itembase;
}
function createShell ( name ) { class itembase extends BicoloredDrawable { constructor ( ) { super ( meshes [ name ] , textures . FlipCard ) ; } } return itembase ; }
Creates the outer "shell" for an xm item.
Creates the outer " shell " for an xm item .