void ClearDrawPath() { while (drawPathStack.Count > 0) { Node popped = drawPathStack.Pop(); ClickableTile tile = map.tiles[popped.pos.x, popped.pos.y]; if (!tile.IsAvailable()) { tile.Highlight(false); } tile.SetValueText(tile.GetValue()); } }