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