Пример #1
0
func (m Music) Play() {
	C.sfMusic_play(m.internal)
}
Пример #2
0
// \brief Start or resume playing a music
// This function starts the music if it was stopped, resumes
// it if it was paused, and restarts it from beginning if it
// was it already playing.
// This function uses its own thread so that it doesn't block
// the rest of the program while the music is played.
// \param music Music object
// void sfMusic_play(sfMusic* music);
func (self Music) Play() {
	C.sfMusic_play(self.Cref)
}