Exemplo 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);
 }
Exemplo n.º 2
0
 protected override void Execute(Actuator act)
 {
     CommandFactory.Talk(_voice, _text);
 }