private void updateTribeRowRelation(ListViewItem tribeRow, Tribe.Relation rel)
        {
            tribeRow.SubItems[1].Text = rel.ToString();
            Color c = relationColor(rel);

            tribeRow.SubItems[1].BackColor = c;
            updatePlayerList();
        }
        private Color relationColor(Tribe.Relation r)
        {
            switch (r)
            {
            case Tribe.Relation.Allied: return(Color.LightBlue);

            case Tribe.Relation.Friendly: return(Color.LightGreen);

            case Tribe.Relation.Neutral: return(Color.Yellow);

            case Tribe.Relation.Hostile: return(Color.LightSalmon);
            }
            return(Color.White);
        }