Initial commit

This commit is contained in:
Léo Lam
2020-06-05 17:09:06 +02:00
commit 2de366be0f
52 changed files with 113067 additions and 0 deletions
@@ -0,0 +1,21 @@
#include "KingSystem/ActorSystem/actActorFactory.h"
#include "KingSystem/ActorSystem/actActorCreator.h"
namespace ksys::act {
SEAD_SINGLETON_DISPOSER_IMPL(ActorFactoryHolder)
void ActorFactory::dummy() {}
void ActorFactory::dummy2() {}
ActorFactoryHolder::~ActorFactoryHolder() {
ActorCreator::deleteInstance();
}
void ActorFactoryHolder::init(sead::Heap* heap) {
ActorCreator::createInstance(heap);
ActorCreator::instance()->setActorFactory(&mFactory);
}
} // namespace ksys::act