Esempio n. 1
0
        protected override void LoadContent()
        {
            base.LoadContent();

            _spriteBatch = new SpriteBatch(_graphics.GraphicsDevice);

            _font = new FontBuddy();
            _font.LoadContent(Content, "ArialBlack24");

            _time = new GameClock();
            _time.Start();
        }
Esempio n. 2
0
        private void JapaneseGame()
        {
            fontSmall = new FontBuddyPlus();
            fontSmall.LoadContent(Content, "NotoSansJP-Bold", true, StyleSheet.SmallFontSize);
            fontMedium = new FontBuddyPlus();
            fontMedium.LoadContent(Content, "NotoSansJP-Bold", true, StyleSheet.MediumFontSize);

            _cards = new Deck(@"Japanese\Animals.xml")
            {
                Language1 = "English",
                Language2 = "Japanese"
            };
            _cards.ReadXmlFile(Content);
        }