#include <targetable.h>
Public Types | |
typedef MemberCaller1 < TargetedEntity, const std::string &,&TargetedEntity::targetnameChanged > | TargetnameChangedCaller |
Public Member Functions | |
TargetedEntity (Targetable &targetable) | |
~TargetedEntity () | |
void | targetnameChanged (const std::string &name) |
Private Member Functions | |
void | construct () |
void | destroy () |
Private Attributes | |
Targetable & | m_targetable |
targetables_t * | m_targets |
Definition at line 91 of file targetable.h.
typedef MemberCaller1<TargetedEntity, const std::string&, &TargetedEntity::targetnameChanged> TargetedEntity::TargetnameChangedCaller |
Definition at line 122 of file targetable.h.
TargetedEntity::TargetedEntity | ( | Targetable & | targetable | ) | [inline] |
Definition at line 107 of file targetable.h.
References construct().
TargetedEntity::~TargetedEntity | ( | ) | [inline] |
Definition at line 112 of file targetable.h.
References destroy().
void TargetedEntity::construct | ( | ) | [inline, private] |
Definition at line 96 of file targetable.h.
References m_targetable, and m_targets.
Referenced by TargetedEntity(), and targetnameChanged().
void TargetedEntity::destroy | ( | ) | [inline, private] |
Definition at line 101 of file targetable.h.
References m_targetable, and m_targets.
Referenced by targetnameChanged(), and ~TargetedEntity().
void TargetedEntity::targetnameChanged | ( | const std::string & | name | ) | [inline] |
Definition at line 116 of file targetable.h.
References construct(), destroy(), getTargetables(), and m_targets.
Targetable& TargetedEntity::m_targetable [private] |
Definition at line 93 of file targetable.h.
Referenced by construct(), and destroy().
targetables_t* TargetedEntity::m_targets [private] |
Definition at line 94 of file targetable.h.
Referenced by construct(), destroy(), and targetnameChanged().