示例#1
0
        private void InitializePlayers()
        {
            Face1.Avatar = Configuration.DefaultAvatar;
            Face1.Color  = Configuration.DefaultColorGroup;
            Face1.SetPlayerName("Jorge");

            Face2.Avatar = Avatars.GetRandomAvatar();
            Face2.Color  = ColorFactory.GetRandomColor(Face1.Color);

            FaceSelector3.Avatar = Avatars.GetRandomAvatar();
            FaceSelector3.Color  = ColorFactory.GetRandomColor(Face1.Color, Face2.Color);

            FaceSelector4.Avatar = Avatars.GetRandomAvatar();
            FaceSelector4.Color  = ColorFactory.GetRandomColor(Face1.Color, Face2.Color, FaceSelector3.Color);
        }