     $("#{id} .info-hp").html("")
     $("#{id} .other-info").html("")
 
-
 highlightPath = (path) ->
   for qr in path
     $("#tile-#{qr[0]}-#{qr[1]}").addClass("path")

    window.iid = window.setInterval(nextTick, window.replaySpeed)
  false



  
setupUnits = ->
  $("#board").addClass("battle-start")
  $(".tile").html("").removeClass("path current enemy").removeData("unitId")
  clearUnitInfoBoxes()
  for id, unit of window.BattleLog.participants
    unit.currentHP = unit.hp
    tile = getTile(unit.spawn_point)
    tile.html("<span class='unit-icon team-#{unit.team}-unit'></span>")
    tile.data("unitId", id)
    unit.id = id
    unit.location = unit.spawn_point

pauseReplay = ->
