src/drawable/resource.js
/**
 * Creates a resource drawable
 *
 * @private
 * @param  {String} name InternalName
 * @return {itembase}    A BicoloredDrawable representing this resource item
 */
Creates a resource drawable
@private
@param  {String} name InternalName
@return {itembase}    A BicoloredDrawable representing this resource item
Creates a resource drawable @private @param { String } name InternalName @return { itembase } A BicoloredDrawable representing this resource item
function createResource(name) {
  class itembase extends BicoloredDrawable {
    constructor() {
      super(meshes[name], Constants.Texture.FlipCard);
    }
  }
  return itembase;
}
function createResource ( name ) { class itembase extends BicoloredDrawable { constructor ( ) { super ( meshes [ name ] , Constants . Texture . FlipCard ) ; } } return itembase ; }
Creates a resource drawable
 @private
 @param  {String} name InternalName
 @return {itembase}    A BicoloredDrawable representing this resource item
Creates a resource drawable @private @param { String } name InternalName @return { itembase } A BicoloredDrawable representing this resource item