A single tone, used by setFoundItemSound and setFoundLastItemSound.
Public Member Functions | |
| int | getFrequency () |
| Get the frequency for the tone. More... | |
| int | getDurationMsec () |
| Get the duration of the tone in milliseconds. More... | |
| SpeakerTone (int frequency, int durationMsec) | |
| Create a speaker tone. More... | |
| int com.ugrokit.api.Ugi.SpeakerTone.getFrequency | ( | ) |
Get the frequency for the tone.
| int com.ugrokit.api.Ugi.SpeakerTone.getDurationMsec | ( | ) |
Get the duration of the tone in milliseconds.
| com.ugrokit.api.Ugi.SpeakerTone.SpeakerTone | ( | int | frequency, |
| int | durationMsec | ||
| ) |
Create a speaker tone.
| frequency | Frequency for the tone |
| durationMsec | Duration of the tone in milliseconds |