mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Rework internal module registration to happen in constructors.
This commit is contained in:
@@ -27,6 +27,11 @@ namespace sound
|
||||
|
||||
love::Type Sound::type("Sound", &Module::type);
|
||||
|
||||
Sound::Sound(const char *name)
|
||||
: Module(M_SOUND, name)
|
||||
{
|
||||
}
|
||||
|
||||
Sound::~Sound()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user