Ejemplo n.º 1
0
 private void LoadGame(string sourcePath)
 {
     m_sourcePath = sourcePath;
     m_domTree = m_domTreeBuilder.Build(m_sourcePath);
     m_styleRules = m_styleRulesBuilder.Build(m_domTree);
     m_renderTree = m_renderTreeBuilder.Build(m_domTree, m_styleRules);
 }
Ejemplo n.º 2
0
 public StyleRules Build(DOMTree domTree)
 {
     m_styleRules = new StyleRules();
     GatherStyles(domTree.RootElement);
     return(m_styleRules);
 }