Example #1
0
 public override string ToString()
 {
     return(string.Format(
                "{0}, Colors=({1}+{2}), View={3}, Enabled={4}",
                Player == null ? Tribe.Tag : Player.Name,
                Color.Description().Replace("=", ":"),
                ExtraColor.Description().Replace("=", ":"),
                View,
                Enabled));
 }
Example #2
0
        public override string ToString()
        {
            string views = string.Empty;

            if (View != null)
            {
                views = View;
            }
            return(string.Format("View={0}, Color={1}, ExtraColor={2}, Enabled={3}, Name={4}", views, Color.Description(), ExtraColor.Description(), Enabled, Name));
        }