/// <summary> /// Raised, if the cartridge is complete. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> void OnCartridgeComplete (object sender, WherigoEventArgs args) { // TODO: Implementation }
/// <summary> /// Save the cartridge. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Event arguments.</param> public void OnSaveCartridge(object sender, WherigoEventArgs args) { engine.Save(new FileStream(args.Cartridge.SaveFilename, FileMode.Create)); }
/// <summary> /// Stop sound. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> public void OnStopSound(Object sender, WherigoEventArgs args) { mediaPlayer.Stop(); }
void OnPlayAlert(object sender, WherigoEventArgs e) { Sounds.Alarm.PlayAlertSound(); SystemSound.Vibrate.PlaySystemSound(); }
/// <summary> /// Raises the play alert event. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> public void OnPlayAlert(Object sender, WherigoEventArgs args) { // TODO: Implement }
/// <summary> /// Stop sound. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> public void OnStopSound(Object sender, WherigoEventArgs args) { mediaPlayer.Stop (); }
/// <summary> /// Raises the play alert event. /// </summary> /// <param name="sender">Sender of event.</param> /// <param name="e">Wherigo event arguments.</param> public void OnPlayAlert(object sender, WherigoEventArgs e) { if (this.sound != null) { this.sound.PlayAlert(); } if (this.vibration != null) { this.vibration.Vibrate(); } }
private void Core_StopSoundsRequested(object sender, WherigoEventArgs e) { StopAllSounds(); }
private void Core_CartridgeCompleted(object sender, WherigoEventArgs e) { // Logs a history entry for cartridge completion. Model.History.AddCompletedGame(Model.CartridgeStore.GetCartridgeTag(e.Cartridge)); }
private void Core_CartridgeCompleted(object sender, WherigoEventArgs e) { // Logs a history entry for cartridge completion. Model.History.AddCompletedGame(Model.CartridgeStore.GetCartridgeTagOrDefault(e.Cartridge)); }
private void Core_PlayAlertRequested(object sender, WherigoEventArgs e) { Vibrate(); }
public void OnStopSound(Object sender, WherigoEventArgs args) { StopSound (); }
void OnPlayAlert (object sender, WherigoEventArgs e) { Sounds.Alarm.PlayAlertSound (); SystemSound.Vibrate.PlaySystemSound (); }
public void OnStopSound(Object sender, WherigoEventArgs args) { StopSound(); }
/// <summary> /// Raises the play alert event. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> public void OnPlayAlert(Object sender, WherigoEventArgs args) { // TODO: Implement }
private void Core_PlayAlertRequested(object sender, WherigoEventArgs e) { Vibrate(); }
/// <summary> /// Save the cartridge. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Event arguments.</param> public void OnSaveCartridge (object sender, WherigoEventArgs args) { engine.Save (new FileStream (args.Cartridge.SaveFilename, FileMode.Create)); }
private void Core_StopSoundsRequested(object sender, WherigoEventArgs e) { StopAllSounds(); }
/// <summary> /// Raises the cartridge complete event. /// </summary> /// <param name="sender">Sender of event.</param> /// <param name="args">Wherigo event arguments.</param> public void OnCartridgeComplete(object sender, WherigoEventArgs args) { // TODO: Implement // throw new NotImplementedException (); }
/// <summary> /// Raised, if the cartridge is complete. /// </summary> /// <param name="sender">Sender.</param> /// <param name="args">Arguments.</param> void OnCartridgeComplete(object sender, WherigoEventArgs args) { // TODO: Implementation }
/// <summary> /// Raises the stop sound event. /// </summary> /// <param name="sender">Sender of event.</param> /// <param name="args">Wherigo event arguments.</param> public void OnStopSound(object sender, WherigoEventArgs args) { if (this.sound != null) { this.sound.StopSound(); } }
public void OnCartridgeComplete(object sender, WherigoEventArgs args) { // TODO: Implement // throw new NotImplementedException (); }