function drawBomb(x, y, owner) {
  // <use xlink:href="#bomb" class="bomb-player0" x="5" y="5"/>
  var use = document.createElementNS(SVG_NS, 'use');
  use.setAttributeNS(XLINK_NS, 'href', '#bomb');
  use.setAttribute('class', 'bomb-player' + owner);
  use.setAttribute('x', x);
  use.setAttribute('y', y);
  return use;
}
// Draw and return a single bomb.
Draw and return a single bomb.
Draw and return a single bomb .
function drawBomb(x, y, owner) {
  var use = document.createElementNS(SVG_NS, 'use');
  use.setAttributeNS(XLINK_NS, 'href', '#bomb');
  use.setAttribute('class', 'bomb-player' + owner);
  use.setAttribute('x', x);
  use.setAttribute('y', y);
  return use;
}
function drawBomb ( x , y , owner ) { var use = document . createElementNS ( SVG_NS , 'use' ) ; use . setAttributeNS ( XLINK_NS , 'href' , '#bomb' ) ; use . setAttribute ( 'class' , 'bomb-player' + owner ) ; use . setAttribute ( 'x' , x ) ; use . setAttribute ( 'y' , y ) ; return use ; }
Draw and return a single bomb.
Draw and return a single bomb .
// <use xlink:href="#bomb" class="bomb-player0" x="5" y="5"/>