supertux
Public Member Functions | List of all members
scripting::AmbientSound Class Referencefinal
Inheritance diagram for scripting::AmbientSound:
scripting::GameObject<::AmbientSound >

Public Member Functions

void set_pos (float x, float y)
 Sets the position of the ambient sound. More...
 
float get_pos_x () const
 Returns the ambient sound's x coordinate.
 
float get_pos_y () const
 Returns the ambient sound's y coordinate.
 
- Public Member Functions inherited from scripting::GameObject<::AmbientSound >
 GameObject (UID uid)
 
::AmbientSoundget_object_ptr () const
 

Additional Inherited Members

- Protected Attributes inherited from scripting::GameObject<::AmbientSound >
UID m_uid
 

Member Function Documentation

§ set_pos()

void AmbientSound::set_pos ( float  x,
float  y 
)

Sets the position of the ambient sound.

Parameters
xX coordinate
yY coordinate

The documentation for this class was generated from the following files: