Ejemplo n.º 1
0
        //Vector2 offset = new Vector2(11, 11);
        public void Initialize()
        {
            try
            {
                titleText = SignedInGamer.SignedInGamers[0].Gamertag;
                mainText  = "Player " + SignedInGamer.SignedInGamers[0].PlayerIndex.ToString();
            }
            catch
            {
            }
            try
            {
                displayPic = SignedInGamer.SignedInGamers[0].GetProfile().GamerPicture;
                isFetchedDisplayPicture = true;
            }
            catch
            {
                displayPic = game.getTexture("solid");

                game.sayMessage("NetworkHUD.Initialize(): Error in fetching GamerPicture");
            }
        }