예제 #1
0
 private void LoadFont()
 {
     if (!isLoaded)
     {
         SpriteFont pFont = (SpriteFont)CollectionUtils.Get(baseFonts, faceName);
         if (pFont == null)
         {
             Font_Updateable font = new Font_Updateable(this);
             LSystem.Load(font);
         }
         else
         {
             this.spriteFont = pFont;
         }
         isLoaded = true;
     }
 }
예제 #2
0
 private void LoadFont()
 {
     if (!isLoaded)
     {
         SpriteFont pFont = (SpriteFont)CollectionUtils.Get(baseFonts, faceName);
         if (pFont == null)
         {
             Font_Updateable font = new Font_Updateable(this);
             LSystem.Load(font);
         }
         else
         {
             this.spriteFont = pFont;
         }
         isLoaded = true;
     }
 }