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

Public Types | |
| typedef ComponentPtr< ZoneAreaComponent, sct_ZONE > | Ptr |
Public Member Functions | |
| ZoneAreaComponent (Composite *owner, const ComponentFactory *factory=0) | |
| Constructor. | |
| ~ZoneAreaComponent () | |
| void | setActive (bool state) |
| Called by Composite. | |
| const char * | name () const |
| By default returns name of composite, which returns name of composite factory. | |
| void | offset (const ZoneAreaComponent &other, Page &dest) const |
| bool | offset (const ZoneAreaComponent &other, const Vector3 &size, Vector3 &dest) const |
| Page & | page () |
| const Page & | page () const |
| bool | addNeighbour (ZoneAreaComponent &other) |
| int | neighbourIndex (const Page &rel) const |
| ZoneAreaComponent * | neighbour (int relX, int relY, int relZ) |
| const ZoneAreaComponent * | neighbour (int relX, int relY, int relZ) const |
| void | addLink (ZoneAreaComponent &link) |
| ComponentList & | links () |
| void | setExits (Exit *exits, int count) |
| Exit & | exit (int id) |
| const Exit & | exit (int id) const |
| int | exitCount () const |
| bool | hasParent () const |
| Does the Pos have a parent? | |
| NodeComponent * | parent () |
| Get parent. | |
| const NodeComponent * | parent () const |
| Get parent. | |
| void | resetParent () |
| Set parent to none. | |
| void | setParent (NodeComponent &p) |
| NodeComponentList & | children () |
| 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 | |
| void | parentChanged (Composite *newParent, Composite *oldParent) |
| Called by Composite. | |
| void | cleanup () |
| Called by Composite. | |
| void | addChild (NodeComponent &node) |
| Add a NodeComponent as a child. | |
| void | removeChild (NodeComponent &node) |
| Add a NodeComponent from the child list. | |
| virtual void | setDead () |
| Called by Composite. | |
| virtual void | zoneChanged (int type, Composite *newArea, Composite *oldArea) |
| Called by Composite. | |
| virtual void | init () |
| Called by Composite. | |
Protected Attributes | |
| Page | page_ |
| ComponentList | links_ |
| ZoneAreaComponent * | neighbours_ [MAX_NEIGHBOURS] |
| int | exitCount_ |
| Exit * | exits_ |
| NodeComponent * | parent_ |
| The parent of this position. | |
| NodeComponentList | children_ |
| List of child NodeComponents. | |
| int | type_ |
| The type of Component. | |
| Composite * | owner_ |
| const ComponentFactory * | factory_ |
Static Protected Attributes | |
| const int | MAX_NEIGHBOURS = 3 * 3 * 3 |
Friends | |
| class | ZoneAreaComponentFactory |
| class | Composite |
|
|
Definition at line 89 of file ZoneAreaComponent.hpp. |
|
||||||||||||
|
Constructor.
Definition at line 36 of file ZoneAreaComponent.cpp. References se_core::sct_ZONE. |
|
|
Definition at line 49 of file ZoneAreaComponent.cpp. |
|
|
Add a NodeComponent as a child. Called by setParent of child. Definition at line 60 of file NodeComponent.cpp. Referenced by se_core::NodeComponent::setParent(). |
|
|
Definition at line 105 of file ZoneAreaComponent.cpp. |
|
|
Definition at line 87 of file ZoneAreaComponent.cpp. References AssertFatal, se_core::Composite::name(), se_core::Component::owner(), and page(). |
|
|
Definition at line 63 of file NodeComponent.hpp. Referenced by se_core::NodeComponentList::TreeIterator::next(). |
|
|
Called by Composite.
Reimplemented from se_core::Component. Reimplemented in se_core::RootComponent, se_core::CutsceneComponent, se_core::SignalAreaComponent, se_core::SignalComponent, se_ogre::O3dAreaComponent, se_ogre::O3dThingComponent, and se_basic::NavMeshComponent. Definition at line 70 of file NodeComponent.hpp. |
|
|
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 172 of file ZoneAreaComponent.cpp. References Assert. |
|
|
Definition at line 166 of file ZoneAreaComponent.cpp. References AssertFatal. |
|
|
Definition at line 117 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 81 of file Component.hpp. Referenced by se_core::Composite::releaseComponents(). |
|
|
Does the Pos have a parent?
Definition at line 41 of file NodeComponent.hpp. |
|
|
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 se_core::Actor::affect(). |
|
|
Definition at line 113 of file ZoneAreaComponent.hpp. |
|
|
By default returns name of composite, which returns name of composite factory.
Reimplemented from se_core::Component. Definition at line 99 of file ZoneAreaComponent.hpp. |
|
||||||||||||||||
|
Definition at line 134 of file ZoneAreaComponent.cpp. References se_core::Page::clampToNeighbourOffset(), se_core::Page::isNeighbourOffset(), neighbour(), se_core::Page::x_, se_core::Page::y_, and se_core::Page::z_. |
|
||||||||||||||||
|
Definition at line 119 of file ZoneAreaComponent.cpp. References se_core::Page::clampToNeighbourOffset(), se_core::Page::isNeighbourOffset(), se_core::Page::x_, se_core::Page::y_, and se_core::Page::z_. Referenced by neighbour(). |
|
|
Definition at line 111 of file ZoneAreaComponent.cpp. References AssertFatal, se_core::Page::isNeighbourOffset(), se_core::Page::w_, se_core::Page::x_, se_core::Page::y_, and se_core::Page::z_. |
|
||||||||||||||||
|
Definition at line 75 of file ZoneAreaComponent.cpp. References page(), se_core::Tuple3::x_, se_core::Tuple3::y_, and se_core::Tuple3::z_. |
|
||||||||||||
|
Definition at line 69 of file ZoneAreaComponent.cpp. References page(), and se_core::Page::sub(). |
|
|
Component type.
Definition at line 62 of file Component.hpp. |
|
|
|
Definition at line 105 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 104 of file ZoneAreaComponent.hpp. Referenced by addNeighbour(), se_core::Area::addNeighbour(), and offset(). |
|
|
Get parent. const version. Definition at line 52 of file NodeComponent.hpp. |
|
|
Get parent.
Definition at line 46 of file NodeComponent.hpp. |
|
||||||||||||
|
Called by Composite.
Reimplemented from se_core::Component. Reimplemented in se_core::AreaChildComponent. Definition at line 74 of file NodeComponent.cpp. References se_core::Composite::component(). |
|
|
Add a NodeComponent from the child list. Called by setParent of child. Definition at line 68 of file NodeComponent.cpp. |
|
|
Set parent to none.
Definition at line 41 of file NodeComponent.cpp. |
|
|
Called by Composite.
Reimplemented from se_core::RootChildComponent. Definition at line 55 of file ZoneAreaComponent.cpp. References se_core::CompSchema::activeRoot(), and se_core::Composite::component(). |
|
|
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 150 of file ZoneAreaComponent.cpp. References LogWarning. |
|
|
Definition at line 50 of file NodeComponent.cpp. References se_core::NodeComponent::addChild(). |
|
|
Definition at line 76 of file Component.hpp. Referenced by se_core::Composite::component(). |
|
||||||||||||||||
|
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 ZoneAreaComponent.hpp. |
|
|
List of child NodeComponents.
Definition at line 92 of file NodeComponent.hpp. |
|
|
Definition at line 126 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 127 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 120 of file Component.hpp. |
|
|
Definition at line 123 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 124 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 125 of file ZoneAreaComponent.hpp. |
|
|
Definition at line 118 of file Component.hpp. |
|
|
Definition at line 122 of file ZoneAreaComponent.hpp. |
|
|
The parent of this position.
Definition at line 89 of file NodeComponent.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:30 2007 by Doxygen version 1.3.9.1.