Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A SoundManager is used to render a texture. More...
#include <header.hpp>
Public Member Functions | |
ProtectedPtr< SoundPlayer > | PlaySound (Sound sound) |
Play a the sound. | |
nil | StopAllSounds () |
Stop all the sound currently playing in this SoundManager. |
A SoundManager is used to render a texture.
It can be resised. To create a Shape, you should use Group::CreateShape.
ProtectedPtr<SoundPlayer> SoundManager::PlaySound | ( | Sound | sound | ) |
Play a the sound.
nil SoundManager::StopAllSounds | ( | ) |
Stop all the sound currently playing in this SoundManager.