       when "dispatch"
         @gurk.pushView(new ConfirmView(@gurk, feature.icon, feature.title, feature.text, "dispatch", null, feature.altIcon))
 
-  processResult: (result) =>
+  processResult: (result) ->
     switch result
       when "goal"
         @move(0, 0)

              @gurk.pushView(new AlertView(@gurk, Data.icons.combat, "Encounter", text, "combat"))
              return null

  setMap : (mapName, x, y) =>
    super(mapName, x, y)
    @tileMap.setMap(mapName)
    if (@map.music)
      @gurk.playMusic(@map.music)

  addButtonForFeature: (feature, realMove) =>
    @clearButton(5)
    switch feature.type
      when "sign"

            if (!@map.dark or !@shadows[y][x])
              @game.markVisited(xx, yy)

  getTerrain : (x, y) ->
    tileCharacter = @game.getTile(x, y)
    Data.tiles[tileCharacter]

  getTopFeature : (x, y) ->
    for type in MapView.FEATURE_TYPES
      feature = @game.getFeature(x, y, type)
      if (feature)
        return feature

  move : (x, y) ->
    realMove = !(x == 0 and y == 0)
    tx = @posX + x
    ty = @posY + y
