Sdk/LuaAPI: Fix audio binding
Former-commit-id: 09149563e8f755092f91786bc31dcaea0638f3cb
This commit is contained in:
parent
fdccc9e510
commit
6669733af3
|
|
@ -63,8 +63,6 @@ namespace Ndk
|
|||
});
|
||||
|
||||
/*********************************** Nz::SoundEmitter **********************************/
|
||||
Nz::LuaClass<Nz::SoundEmitter> soundEmitter("SoundEmitter");
|
||||
|
||||
soundEmitter.SetMethod("EnableLooping", &Nz::SoundEmitter::EnableLooping);
|
||||
soundEmitter.SetMethod("EnableSpatialization", &Nz::SoundEmitter::EnableSpatialization);
|
||||
soundEmitter.SetMethod("GetAttenuation", &Nz::SoundEmitter::GetAttenuation);
|
||||
|
|
@ -89,7 +87,6 @@ namespace Ndk
|
|||
soundEmitter.SetMethod("Stop", &Nz::SoundEmitter::Stop);
|
||||
|
||||
/*********************************** Nz::Sound **********************************/
|
||||
Nz::LuaClass<Nz::Sound> soundClass("Sound");
|
||||
soundClass.Inherit(soundEmitter);
|
||||
|
||||
soundClass.SetConstructor([] (Nz::LuaInstance& lua) -> Nz::Sound*
|
||||
|
|
|
|||
Loading…
Reference in New Issue