Added a Library to most reference-counted classes
Former-commit-id: 3ed409a71dcd5ce4eec7672ac26f8fff00e3b136
This commit is contained in:
@@ -511,4 +511,21 @@ void NzAnimation::RemoveSequence(unsigned int index)
|
||||
m_impl->sequences.erase(it);
|
||||
}
|
||||
|
||||
bool NzAnimation::Initialize()
|
||||
{
|
||||
if (!NzAnimationLibrary::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialise library");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void NzAnimation::Uninitialize()
|
||||
{
|
||||
NzAnimationLibrary::Uninitialize();
|
||||
}
|
||||
|
||||
NzAnimationLibrary::LibraryMap NzAnimation::s_library;
|
||||
NzAnimationLoader::LoaderList NzAnimation::s_loaders;
|
||||
|
||||
Reference in New Issue
Block a user