A single playable sound (.wav file, etc)
More...
A single playable sound (.wav file, etc)
This has a parent-reference to Sounds so that an individual sounds will know if the overall sound-system is enabled.
◆ __del__()
| enlighten.ui.Sounds.Sound.__del__ |
( |
| self | ) |
|
◆ __init__()
| enlighten.ui.Sounds.Sound.__init__ |
( |
| self, |
|
|
| pathname, |
|
|
| parent = None ) |
◆ is_enabled()
| enlighten.ui.Sounds.Sound.is_enabled |
( |
| self | ) |
|
◆ play()
| enlighten.ui.Sounds.Sound.play |
( |
| self, |
|
|
| mask = None ) |
◆ playAsync()
| enlighten.ui.Sounds.Sound.playAsync |
( |
| self | ) |
|
◆ parent
| enlighten.ui.Sounds.Sound.parent = parent |
◆ pathname
| enlighten.ui.Sounds.Sound.pathname = pathname |
The documentation for this class was generated from the following file: