SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Nerve Class Referenceabstract

Used for executing states of a LiveActor. More...

#include <Nerve.hpp>

Inheritance diagram for Nerve:
NrvMarioLauncherAttractor::MarioLauncherAttractorNrvWait

Public Member Functions

virtual void execute (Spine *pSpine) const =0
 Executes a state based on the host actor.
 
virtual void executeOnEnd (Spine *pSpine) const
 Executes after the last iteration of a state before it executes another state.
 

Detailed Description

Used for executing states of a LiveActor.

Definition at line 6 of file Nerve.hpp.

Member Function Documentation

◆ execute()

virtual void Nerve::execute ( Spine * pSpine) const
pure virtual

Executes a state based on the host actor.

Parameters
pSpineThe spine that contains the host LiveActor to execute the state for.

Implemented in NrvMarioLauncherAttractor::MarioLauncherAttractorNrvWait.

◆ executeOnEnd()

void Nerve::executeOnEnd ( Spine * pSpine) const
virtual

Executes after the last iteration of a state before it executes another state.

Parameters
pSpineThe spine that contains the host LiveActor to execute the state for.

Definition at line 3 of file Nerve.cpp.