Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
Public Member Functions

SoundManager Class Reference

A SoundManager is used to render a texture. More...

#include <header.hpp>

List of all members.

Public Member Functions

ProtectedPtr< SoundPlayerPlaySound (Sound sound)
 Play a the sound.
nil StopAllSounds ()
 Stop all the sound currently playing in this SoundManager.

Detailed Description

A SoundManager is used to render a texture.

It can be resised. To create a Shape, you should use Group::CreateShape.


Member Function Documentation

ProtectedPtr<SoundPlayer> SoundManager::PlaySound ( Sound  sound)

Play a the sound.

nil SoundManager::StopAllSounds ( )

Stop all the sound currently playing in this SoundManager.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables