Ejemplo n.º 1
0
        public void LoadContent()
        {
            SpriteBatch = new SpriteBatch(Game.GraphicsDevice);
            //Inicia um deck
            CardPacket fullDeck = new CardPacket(1, 2, CardSuit.AllSuits, Cards_FrameWork.CardValue.NonJokers | Cards_FrameWork.CardValue.Jokers);
            string     assetName;

            for (int cardIndex = 0; cardIndex < 54; cardIndex++)
            {
                assetName = _21BlackJack.Cards_FrameWork.Utility.UIUtility.GetCardAssetName(fullDeck[cardIndex]);
            }
            LoadUITexture("Cards", "CardBack_" + Theme);

            Font = Game.Content.Load <SpriteFont>(string.Format(@"Fonts\Regular"));

            GameTable.Initialize();
        }