3#include <game/bases/d_actor.hpp>
28 bool isState(
const sStateIDIf_c &state)
const {
32 const sStateIDIf_c &getOldStateID()
const {
bool isState(const sStateIDIf_c &other) const
Checks if the actor is currently in the given state.
dActorMultiState_c()
Constructs a new actor.
virtual void changeState(const sStateIDIf_c &newState)
Changes the actor's state to the given state.
sFStateStateMgr_c< dActorMultiState_c, sStateMethodUsr_FI_c, sStateMethodUsr_FI_c > mStateMgr
The state manager.
~dActorMultiState_c()
Destroys the actor.
dActorState_c()
Constructs a new actor.
~dActorState_c()
Destroys the actor.
sFStateMgr_c< dActorState_c, sStateMethodUsr_FI_c > mStateMgr
The state manager.
dActor_c()
Constructs a new actor.
A wrapper for sStateMgr_c that uses sFStateFct_c and sStateIDChk_c.
The interface for state IDs.
virtual void finalizeState()
Prepares the current state for termination.
virtual void initializeState()
Initializes the current state.
#define STATE_VIRTUAL_FUNC_DECLARE(class, name)
Declares a virtual state.