 
 
   # Remove the given player from the current list.
-  defp _remove_player(player, state) do
+  defp internal_remove_player(player, state) do
     :ok = state.arena_objects |> Tanx.Core.ArenaObjects.kill_player_objects(player)
     state = %State{state | players: state.players |> Dict.delete(player)}
     _broadcast_change(state)

  end


  defp _sort_views(views) do
    views |> Enum.sort_by(fn
      %Tanx.Core.View.Player{name: name, is_me: is_me} -> {!is_me, name}
    end)
  end


        {_, player_info} ->
          build_player_view(player_info, false)
        end)
      |> sort_views()
    GenEvent.notify(state.broadcaster, {:player_views, player_views})
    state
  end
