Пример #1
0
 static public ISprite GetSprite(string name)
 {
     if (s_get_sprite == null)
     {
         return(SymbolTextCfg.GetSprite(name));
     }
     return(s_get_sprite(name));
 }
Пример #2
0
        static public Cartoon GetCartoon(string name)
        {
            if (s_get_cartoon == null)
            {
                return(SymbolTextCfg.GetCartoon(name));
            }

            return(s_get_cartoon(name));
        }
Пример #3
0
        static public void GetAllCartoons(List <Cartoon> cartoons)
        {
            if (s_get_cartoons == null)
            {
                SymbolTextCfg.GetCartoons(cartoons);
                return;
            }

            s_get_cartoons(cartoons);
        }
Пример #4
0
        static public Font GetFont(string name)
        {
            if (s_get_font == null)
            {
                Font f = SymbolTextCfg.GetFont(name);
                if (f == null)
                {
                    return(DefaultFont);
                }
            }

            return(s_get_font(name));
        }