public static IStyleWriter CreateWriter(this IStyleSystem s)
        {
            var w = new StyleWriter(s);

            s.ConfigureStyleSerializer(w);
            return(w);
        }
        public static IStyleParser CreateParser(this IStyleSystem s, GraphicsDevice graphicsDevice = null)
        {
            var parser = new StyleParser(s, graphicsDevice);

            s.ConfigureStyleSerializer(parser);
            return(parser);
        }
Ejemplo n.º 3
0
 public void ConfigureStyleSerializer(IStyleSerializerConfiguration parser)
 {
     parent.ConfigureStyleSerializer(parser);
 }