function Hulk(tank) {
  this.tank = tank;
  var element = document.createElementNS(SVG_NS, 'polygon');
  element.setAttribute('points', this.PATH);
  element.setAttribute('class', 'hulk player' + tank.playerNumber);
  var g = document.getElementById('hulks');
  g.appendChild(element);
  this.element = element;
  this.hexX = tank.hexX;
  this.hexY = tank.hexY;
  this.direction = tank.direction;
  this.render(false);
}
// Player number should be 1-3 and determines hulk's colour.
Player number should be 1-3 and determines hulk's colour.
Player number should be 1 - 3 and determines hulk ' s colour .
function Hulk(tank) {
  this.tank = tank;
  var element = document.createElementNS(SVG_NS, 'polygon');
  element.setAttribute('points', this.PATH);
  element.setAttribute('class', 'hulk player' + tank.playerNumber);
  var g = document.getElementById('hulks');
  g.appendChild(element);
  this.element = element;
  this.hexX = tank.hexX;
  this.hexY = tank.hexY;
  this.direction = tank.direction;
  this.render(false);
}
function Hulk ( tank ) { this . tank = tank ; var element = document . createElementNS ( SVG_NS , 'polygon' ) ; element . setAttribute ( 'points' , this . PATH ) ; element . setAttribute ( 'class' , 'hulk player' + tank . playerNumber ) ; var g = document . getElementById ( 'hulks' ) ; g . appendChild ( element ) ; this . element = element ; this . hexX = tank . hexX ; this . hexY = tank . hexY ; this . direction = tank . direction ; this . render ( false ) ; }
Player number should be 1-3 and determines hulk's colour.
Player number should be 1 - 3 and determines hulk ' s colour .