コード例 #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);
 }
コード例 #2
0
 protected override void Execute(Actuator act)
 {
     CommandFactory.Talk(_voice, _text);
 }