Added looping in love.audio (though needs implementation in love.sound).

This commit is contained in:
rude
2009-08-01 22:11:48 +02:00
parent c1ed4372d9
commit 524ef5e118
14 changed files with 87 additions and 20 deletions
+11 -1
View File
@@ -25,7 +25,7 @@ namespace love
namespace audio
{
Source::Source()
: audible(0)
: audible(0), looping(false)
{
}
@@ -56,5 +56,15 @@ namespace audio
return audible;
}
void Source::setLooping(bool looping)
{
this->looping = looping;
}
bool Source::isLooping() const
{
return looping;
}
} // audio
} // love