src/utils.js
/**
 * Makes an artifact drawable class
 * @param  {String} meshName    Name of the mesh to use
 * @param  {String} textureName Name of the texture to use
 * @return {ArtifactDrawable}   A new drawable class for this artifact
 */
Makes an artifact drawable class
@param  {String} meshName    Name of the mesh to use
@param  {String} textureName Name of the texture to use
@return {ArtifactDrawable}   A new drawable class for this artifact
Makes an artifact drawable class @param { String } meshName Name of the mesh to use @param { String } textureName Name of the texture to use @return { ArtifactDrawable } A new drawable class for this artifact
function makeArtifact(meshName, textureName) {
  class artifact extends TexturedDrawable {
    constructor() {
      super(Constants.Program.Textured, meshName, textureName);
    }
  }
  return artifact;
}
function makeArtifact ( meshName , textureName ) { class artifact extends TexturedDrawable { constructor ( ) { super ( Constants . Program . Textured , meshName , textureName ) ; } } return artifact ; }
Makes an artifact drawable class
 @param  {String} meshName    Name of the mesh to use
 @param  {String} textureName Name of the texture to use
 @return {ArtifactDrawable}   A new drawable class for this artifact
Makes an artifact drawable class @param { String } meshName Name of the mesh to use @param { String } textureName Name of the texture to use @return { ArtifactDrawable } A new drawable class for this artifact