mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Added Source:getType, removed Source:isStatic (resolves issue #776)
--HG-- branch : minor
This commit is contained in:
@@ -169,11 +169,6 @@ bool Source::isLooping() const
|
||||
return looping;
|
||||
}
|
||||
|
||||
bool Source::isStatic() const
|
||||
{
|
||||
return (type == TYPE_STATIC);
|
||||
}
|
||||
|
||||
void Source::setMinVolume(float volume)
|
||||
{
|
||||
this->minVolume = volume;
|
||||
|
||||
@@ -66,7 +66,6 @@ public:
|
||||
virtual bool isRelative() const;
|
||||
void setLooping(bool looping);
|
||||
bool isLooping() const;
|
||||
bool isStatic() const;
|
||||
virtual void setMinVolume(float volume);
|
||||
virtual float getMinVolume() const;
|
||||
virtual void setMaxVolume(float volume);
|
||||
|
||||
Reference in New Issue
Block a user