Esempio n. 1
0
 public Sound(XElement x)
 {
     this.uri    = new Uri(CommandFactory.ResolveFilePath(x.Attribute("fileName").Value), UriKind.Absolute);
     this.Volume = double.Parse(x.Attribute("volume").Value, CultureInfo.InvariantCulture);
 }
Esempio n. 2
0
 protected override void Execute(Actuator act)
 {
     CommandFactory.Talk(_voice, _text);
 }