mirror of
https://github.com/MonsterDruide1/OdysseyDecomp
synced 2026-05-10 09:18:01 +00:00
22 lines
434 B
C++
22 lines
434 B
C++
#include "Library/Nerve/NerveExecutor.h"
|
|
|
|
#include "Library/Nerve/NerveKeeper.h"
|
|
|
|
namespace al {
|
|
|
|
NerveExecutor::NerveExecutor(const char* name) {}
|
|
|
|
NerveExecutor::~NerveExecutor() {
|
|
delete mKeeper;
|
|
}
|
|
|
|
void NerveExecutor::initNerve(const Nerve* nerve, s32 stateCount) {
|
|
mKeeper = new NerveKeeper(this, nerve, stateCount);
|
|
}
|
|
|
|
void NerveExecutor::updateNerve() {
|
|
if (mKeeper)
|
|
mKeeper->update();
|
|
}
|
|
} // namespace al
|