コード例 #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));
        }