#include <Actor.hpp>
Inheritance diagram for se_core::Actor:

Public Types | |
| typedef ComponentPtr< Actor, sct_BLOB > | Ptr |
Public Member Functions | |
| Actor (Composite *owner, const ComponentFactory *factory) | |
| Constructor. | |
| ~Actor () | |
| void | stopScript () |
| void | popScript () |
| void | pushScript (const Script *s) |
| void | setDefaultScript (const Script *s) |
| bool | hasActiveScript () |
| const Script * | script () |
| void | disrupt () |
| void | affect () |
| bool | calcNextCoor () |
| bool | isMover () const |
| Move & | nextMove () |
| const Move & | move () const |
| void | setDefaultPhysics (const Physics *ph) |
| void | pushPhysics (const Physics *ph) |
| void | pushPhysics (const char *ph) |
| void | popPhysics () |
| void | scheduleForDestruction () |
| coor_t | walkSpeed () const |
| Abilities * | abilities () |
| void | say (const char *message) |
| Have the Actor say something. | |
| void | sound (const char *snd) |
| const Composite * | target () const |
| Composite * | target () |
| bool | hasTarget () const |
| void | setTarget (Composite *target) |
| void | resetTarget () |
| const Pos & | pos () const |
| Pos & | nextPos () const |
| bool | hasDefaultAction () const |
| const Action * | defaultAction (Parameter &out) const |
| void | planDefaultAction () const |
| virtual const char * | name () const |
| By default returns name of composite, which returns name of composite factory. | |
| Composite * | owner () |
| const Composite * | owner () const |
| Component type. | |
| Component * | component (int type) |
| const Component * | component (int type) const |
| int | type () const |
| const ComponentFactory * | factory () |
| bool | isActive () |
| bool | isDead () const |
Protected Member Functions | |
| virtual void | setActive (bool state) |
| Called by Composite. | |
| virtual void | setDead () |
| Called by Composite. | |
| virtual void | parentChanged (Composite *newParent, Composite *oldParent) |
| Called by Composite. | |
| virtual void | zoneChanged (int type, Composite *newArea, Composite *oldArea) |
| Called by Composite. | |
| virtual void | init () |
| Called by Composite. | |
| virtual void | cleanup () |
| Called by Composite. | |
Protected Attributes | |
| PosComponent * | posComponent_ |
| SpawnComponent * | spawnComponent_ |
| ScriptComponent * | scriptComponent_ |
| ActionComponent * | actionComponent_ |
| PhysicsComponent * | physicsComponent_ |
| StatComponent * | statComponent_ |
| int | type_ |
| The type of Component. | |
| Composite * | owner_ |
| const ComponentFactory * | factory_ |
Friends | |
| class | Composite |
Definition at line 53 of file Actor.hpp.
|
|
|
|
||||||||||||
|
Constructor.
Definition at line 45 of file Actor.cpp. References se_core::sct_BLOB. |
|
|
|
|
|
|
|
|
Definition at line 91 of file Actor.hpp. References se_core::Component::isDead(). |
|
|
|
|
|
Called by Composite.
Reimplemented in se_core::NodeComponent, se_core::RootComponent, se_core::ActionComponent, se_core::CutsceneComponent, se_core::PosComponent, se_core::ScriptComponent, se_core::SignalAreaComponent, se_core::SignalComponent, se_core::SpawnComponent, se_ogre::O3dAreaComponent, se_ogre::O3dThingComponent, and se_basic::NavMeshComponent. Definition at line 47 of file Component.cpp. Referenced by se_core::Composite::cleanup(). |
|
|
Definition at line 71 of file Component.hpp. References se_core::Component::component(). |
|
|
Definition at line 67 of file Component.hpp. References se_core::Composite::component(). Referenced by se_core::Component::component(), se_core::Component::ComponentPtr< T, type >::ComponentPtr(), se_ogre::O3dThingComponent::get(), se_ogre::O3dNodeComponent::get(), and se_ogre::O3dAreaComponent::get(). |
|
|
|
|
|
|
|
|
Definition at line 81 of file Component.hpp. Referenced by se_core::Composite::releaseComponents(). |
|
|
Definition at line 80 of file Actor.hpp. Referenced by se_basic::Say::perform(). |
|
|
|
|
|
|
|
|
Called by Composite.
Reimplemented in se_core::RootComponent, se_core::SignalAreaComponent, se_ogre::O3dAreaComponent, and se_ogre::O3dThingComponent. Definition at line 42 of file Component.cpp. Referenced by se_core::Composite::init(). |
|
|
Definition at line 26 of file Component.cpp. |
|
|
Definition at line 31 of file Component.cpp. Referenced by affect(). |
|
|
|
|
|
|
|
|
By default returns name of composite, which returns name of composite factory.
Reimplemented in se_core::CutsceneAreaComponent, se_core::CutsceneComponent, se_core::CutsceneManager, se_core::CollisionAreaComponent, se_core::SignalAreaComponent, se_core::SignalComponent, se_core::SpawnAreaComponent, se_core::SpawnManager, se_core::ZoneAreaComponent, se_core::ZoneComponent, se_core::ZoneManager, se_basic::NavMeshAreaComponent, se_basic::NavMeshComponent, and se_basic::NavMeshManager. Definition at line 21 of file Component.cpp. Referenced by se_core::Area::addNeighbour(), se_core::DefaultTC::collide(), se_core::CoDefault::collide(), se_basic::Say::perform(), and se_ogre::SpeechBubble::speechEvent(). |
|
|
Definition at line 104 of file Actor.hpp. Referenced by se_basic::EnterTo::perform(). |
|
|
Definition at line 158 of file Actor.hpp. Referenced by se_basic::SimpleActorFactory::create(), se_basic::LeaveToAndStopScript::perform(), and se_basic::EnterTo::perform(). |
|
|
Component type.
Definition at line 62 of file Component.hpp. |
|
|
||||||||||||
|
Called by Composite.
Reimplemented in se_core::AreaChildComponent, and se_core::NodeComponent. Definition at line 101 of file Component.hpp. Referenced by se_core::Composite::resetParent(), and se_core::Composite::setParent(). |
|
|
Definition at line 81 of file Actor.cpp. References se_core::CHANNEL_EXTRA. |
|
|
Definition at line 124 of file Actor.hpp. Referenced by se_ogre::SpeechBubble::lostFocusEvent(). |
|
|
Definition at line 67 of file Actor.hpp. Referenced by se_basic::PopScript::perform(). |
|
|
Definition at line 157 of file Actor.hpp. Referenced by se_basic::EnterTo::perform(). |
|
|
|
|
|
Definition at line 116 of file Actor.hpp. Referenced by se_ogre::SpeechBubble::grabbedFocusEvent(). |
|
|
Definition at line 71 of file Actor.hpp. Referenced by se_basic::PushScript::perform(). |
|
|
Definition at line 155 of file Actor.hpp. Referenced by se_ogre::SpeechBubble::lostFocusEvent(). |
|
|
Have the Actor say something. The message is looked up in the language file and typically shown in a speech bubble.
Definition at line 69 of file Actor.cpp. Referenced by se_basic::Say::perform(). |
|
|
Definition at line 128 of file Actor.hpp. References se_core::Component::owner(), and se_core::Composite::scheduleForDestruction(). |
|
|
Definition at line 83 of file Actor.hpp. Referenced by se_basic::Say::perform(). |
|
|
|
Called by Composite.
Reimplemented in se_core::SignalComponent, and se_core::SpawnComponent. Definition at line 97 of file Component.hpp. Referenced by se_core::Composite::scheduleForDestruction(). |
|
|
Definition at line 112 of file Actor.hpp. Referenced by se_basic::SimpleActorFactory::create(). |
|
|
|
|
|
Definition at line 154 of file Actor.hpp. Referenced by se_ogre::SpeechBubble::grabbedFocusEvent(), and se_ogre::SpeechBubble::speechEvent(). |
|
|
|
|
|
Definition at line 63 of file Actor.hpp. Referenced by se_basic::StopScript::perform(), and se_basic::LeaveToAndStopScript::perform(). |
|
|
|
|
|
|
|
|
Definition at line 76 of file Component.hpp. Referenced by se_core::Composite::component(). |
|
|
Definition at line 132 of file Actor.hpp. References coor_t. |
|
||||||||||||||||
|
Called by Composite.
Reimplemented in se_core::AreaChildComponent, se_core::CollisionComponent, and se_core::SignalComponent. Definition at line 37 of file Component.cpp. Referenced by se_core::Composite::zoneChanged(). |
|
|
Definition at line 89 of file Component.hpp. |
|
|
|
|
|
Definition at line 120 of file Component.hpp. |
|
|
Definition at line 118 of file Component.hpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The type of Component.
Definition at line 117 of file Component.hpp. |
Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:29 2007 by Doxygen version 1.3.9.1.