Home | Features | Roadmap | Learn | Documentation | ||
Latest version: Tramway SDK 0.0.9 Github Quick links Home Get Started |
SoundTableA sound table contains many-to-many mappings from a key to a name of a sound. This allows to associate sounds with a certain category.
For example, Button entity has a
sound table parameter. When it opens or close, it will look up the sounds
mapped to the Since there can be multiple sounds mapped to the same key, if there arises such a situation when a sound is being looked up and there are multiple sounds associated with the given key, a random sound that is mapped to said key will be returned. Programming in C++
Very simple API. It was supposed to be very simple, so it is such.
SoundTable* table = SoundTable::Find("table");
|
|
|