Better method name

This commit is contained in:
Dmitry Marakasov 2015-08-31 18:15:45 +03:00
parent 88b7733d2a
commit 8155dc8158
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ int Mixer::FadeOutChannel(int channel, int ms) {
return Mix_FadeOutChannel(channel, ms);
}
void Mixer::ChannelFinished(ChannelFinishedHandler channel_finished) {
void Mixer::SetChannelFinishedHandler(ChannelFinishedHandler channel_finished) {
Mix_ChannelFinished(channel_finished);
}

View File

@ -316,7 +316,7 @@ public:
/// \see https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC37
///
////////////////////////////////////////////////////////////
void ChannelFinished(ChannelFinishedHandler channel_finished);
void SetChannelFinishedHandler(ChannelFinishedHandler channel_finished);
////////////////////////////////////////////////////////////
/// \brief Get the active playing status of a channel