fungi-renderer.js
/*
  Wiggling animation provides feedback when an illegal action is attempted
  */
Wiggling animation provides feedback when an illegal action is attempted
Wiggling animation provides feedback when an illegal action is attempted
wiggleSlot (slotDOMElement) {
    let slotImage = slotDOMElement.children[0]
    slotImage.classList.add('wiggle')
    setTimeout(() => slotImage.classList.remove('wiggle'), Renderer.animationTimes.slotWarning)
  }
wiggleSlot ( slotDOMElement ) { let slotImage = slotDOMElement . children [ 0 ] slotImage . classList . add ( 'wiggle' ) setTimeout ( ( ) => slotImage . classList . remove ( 'wiggle' ) , Renderer . animationTimes . slotWarning ) }
Wiggling animation provides feedback when an illegal action is attempted
Wiggling animation provides feedback when an illegal action is attempted