1#include "Game/System/NerveExecutor.hpp"
3NerveExecutor::NerveExecutor(
const char *a1) : mSpine(0) {
8NerveExecutor::~NerveExecutor() {
12void NerveExecutor::initNerve(
const Nerve *pNerve) {
13 mSpine =
new Spine(
this, pNerve);
16void NerveExecutor::updateNerve() {
17 if (mSpine !=
nullptr) {
22void NerveExecutor::setNerve(
const Nerve* pNerve) {
23 mSpine->setNerve(pNerve);
26bool NerveExecutor::isNerve(
const Nerve* pNerve)
const {
27 return !(mSpine->getCurrentNerve() != pNerve);
30s32 NerveExecutor::getNerveStep()
const {
Used for executing states of a LiveActor.