Exemple #1
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     if (m_objectBuilder != null)
     {
         String values = parameter.Value;
         m_objectBuilder.setValues(values);
     }
 }
Exemple #2
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     if (m_macroService != null)
     {
     }
 }
Exemple #3
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     foreach (XElement child in parameter.Elements())
     {
         executor.execute(child);
     }
 }
Exemple #4
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     if (m_macroService != null)
     {
         XAttribute name = parameter.Attribute(XName.Get("Id"));
         XnaScrapId id;
         if (name == null)
         {
             id = XnaScrapId.CreateId();
         }
         else
         {
             id = new XnaScrapId(name.Value);
         }
     }
 }
Exemple #5
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     if (m_objectBuilder != null)
     {
         XAttribute name = parameter.Attribute(XName.Get("Name"));
         m_objectBuilder.beginParameter(name.Value);
         foreach (XElement child in parameter.Elements())
         {
             executor.execute(child);
         }
         m_objectBuilder.endParameter();
     }
 }
Exemple #6
0
 public void execute(XElement parameter, XmlScriptExecutor executor)
 {
     if (m_objectBuilder != null)
     {
         XAttribute name = parameter.Attribute(XName.Get("Id"));
         XnaScrapId id;
         if (name == null)
         {
             id = XnaScrapId.CreateId();
         }
         else
         {
             id = new XnaScrapId(name.Value);
         }
         m_objectBuilder.beginGameObject(id);
         foreach (XElement child in parameter.Elements())
         {
             executor.execute(child);
         }
         m_objectBuilder.endGameObject();
     }
 }