Skip to content

ScriptingSoundObject

SuperTux Bot edited this page Nov 26, 2024 · 4 revisions

This file is auto-generated from the SuperTux source code, using the template ScriptingPage.md.

Summary

None.

Instances

None.

Inheritance

This class inherits functions and variables from the following base classes:

Methods

Method Explanation
void start_playing() Starts playing sound, if currently stopped.
void stop_playing() Stops playing sound.
void set_volume(float volume) Sets the volume of the played sound.
float get_volume() Returns the volume of the played sound.

Variables

Variable Explanation
float volume The volume of the played sound.

Constants

None.

Clone this wiki locally