Updated the new module changes to use more compile/link-time checking rather than runtime checking.

This commit is contained in:
Alex Szpakowski
2014-07-21 15:12:01 -03:00
parent 014b9a46e5
commit d52bab4221
30 changed files with 59 additions and 87 deletions
-5
View File
@@ -25,11 +25,6 @@ namespace love
namespace sound
{
Sound::Sound()
{
moduleType = M_SOUND;
}
Sound::~Sound()
{
}
+3 -1
View File
@@ -42,9 +42,11 @@ class Sound : public Module
public:
Sound();
virtual ~Sound();
// Implements Module.
virtual ModuleType getModuleType() const { return M_SOUND; }
/**
* Creates new SoundData from a decoder. Fully expands the
* encoded sound data into raw sound data. Not recommended