#include <npcstate.h>
Public Types | |
| typedef dtUtil::Enumeration | Type |
| typedef std::list < osg::ref_ptr < dtUtil::Command< void > > > | CommandList |
| typedef dtUtil::Command< void > * | CommandPtr |
| typedef dtUtil::Functor< void, TYPELIST_1(double)> | UpdateFunctor |
Public Member Functions | |
| NPCState () | |
| NPCState (const Type *pType) | |
| void | SetType (const Type *stateType) |
| const Type * | GetType () const |
| const std::string & | GetName () const |
| void | OnEntry () |
| Executes the entry commands. | |
| void | OnExit () |
| void | AddEntryCommand (CommandPtr pCommand) |
| void | AddExitCommand (CommandPtr pCommand) |
| void | RemoveEntryCommand (CommandPtr pCommand) |
| void | RemoveExitCommand (CommandPtr pCommand) |
| void | SetUpdate (const UpdateFunctor &pUpdate) |
| UpdateFunctor & | GetUpdate () |
Protected Member Functions | |
| ~NPCState () | |
| NPCState (const NPCState &) | |
| const NPCState & | operator= (const NPCState &) |
| typedef std::list<osg::ref_ptr<dtUtil::Command<void> > > dtAI::NPCState::CommandList |
| typedef dtUtil::Command<void>* dtAI::NPCState::CommandPtr |
| typedef dtUtil::Functor<void, TYPELIST_1(double)> dtAI::NPCState::UpdateFunctor |
| dtAI::NPCState::NPCState | ( | ) |
| dtAI::NPCState::NPCState | ( | const Type * | pType | ) |
| dtAI::NPCState::~NPCState | ( | ) | [protected] |
| dtAI::NPCState::NPCState | ( | const NPCState & | ) | [protected] |
| void dtAI::NPCState::SetType | ( | const Type * | stateType | ) |
| const NPCState::Type * dtAI::NPCState::GetType | ( | ) | const |
| const std::string & dtAI::NPCState::GetName | ( | ) | const |
| void dtAI::NPCState::OnEntry | ( | ) |
Executes the entry commands.
| void dtAI::NPCState::OnExit | ( | ) |
| void dtAI::NPCState::AddEntryCommand | ( | CommandPtr | pCommand | ) |
| void dtAI::NPCState::AddExitCommand | ( | CommandPtr | pCommand | ) |
| void dtAI::NPCState::RemoveEntryCommand | ( | CommandPtr | pCommand | ) |
| void dtAI::NPCState::RemoveExitCommand | ( | CommandPtr | pCommand | ) |
| void dtAI::NPCState::SetUpdate | ( | const UpdateFunctor & | pUpdate | ) |
| NPCState::UpdateFunctor & dtAI::NPCState::GetUpdate | ( | ) |