예제 #1
0
파일: audio.go 프로젝트: num5/steven
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)
}