fungi-slot.js
/*
  Three functions below (each named with a single verb) are used to control
  the slot and are usually called by its parent (board or inventory).
  */
Three functions below (each named with a single verb) are used to control
the slot and are usually called by its parent (board or inventory).
Three functions below ( each named with a single verb ) are used to control the slot and are usually called by its parent ( board or inventory ) .
pickUp () {
    let returnType = this.type
    let returnStage = this.stage
    this.empty()
    return [returnType, returnStage]
  }
pickUp ( ) { let returnType = this . type let returnStage = this . stage this . empty ( ) return [ returnType , returnStage ] }
Three functions below (each named with a single verb) are used to control
the slot and are usually called by its parent (board or inventory).
Three functions below ( each named with a single verb ) are used to control the slot and are usually called by its parent ( board or inventory ) .