se_basic::SimpleActorFactory Class Reference

#include <SimpleActorFactory.hpp>

Inheritance diagram for se_basic::SimpleActorFactory:

se_core::CompositeFactory se_basic::SimpleCameraFactory se_basic::SimplePlayerFactory List of all members.

Public Member Functions

 SimpleActorFactory (se_core::String *name)
 ~SimpleActorFactory ()
se_core::Compositecreate () const
void setBounds (const se_core::BoundingBox &b)
void setPhysics (const char *name)
void setCollide (const char *name)
void setPickable (bool isPickable)
void setCollideable (bool isCollideable)
void setDefaultAction (const char *name)
void setMass (float m)
void setFriction (float linear, float angular, float bounceDecay)
void setAnim (int id, int movementMode, float pos, float speed)
void setSubstance (int s)
void setSpawnPoints (int count, se_core::ViewPoint *const *spawnPoints)
 Copy spawn points.
const char * name () const
int type () const
virtual void release (Composite *t) const
void addComponent (ComponentFactory *f)
void setTag (int t)
int tag ()

Static Public Member Functions

void addGenericComponent (CompositeType type, const ComponentFactory *f)

Protected Member Functions

void createComponents (Composite *owner) const
void createGenericComponents (Composite *owner) const

Static Protected Member Functions

Generic & gen ()

Protected Attributes

se_core::ActorFactory actorFactory_
se_core::CollisionComponentFactory collisionFactory_
se_core::BoundingBox bounds_
bool isPickable_
bool isCollideable_
se_core::Move move_
const se_core::Physicsphysics_
const se_core::ThingCollidecollide_
se_core::ActionAndParameterdefaultAction_
se_core::Abilities abilities_
int spawnPointCount_
se_core::ViewPoint ** spawnPoints_
int substance_
se_core::Anim anim_ [se_core::Pos::MAX_ANIMS]
String * name_
CompositeType type_
int tag_
int componentCount_
ComponentFactory * components_ [MAX_COMPONENTS]

Static Protected Attributes

const int MAX_COMPONENTS = 32

Constructor & Destructor Documentation

se_basic::SimpleActorFactory::SimpleActorFactory se_core::String name  ) 
 

Definition at line 11 of file SimpleActorFactory.cpp.

References se_core::st_ACTOR.

se_basic::SimpleActorFactory::~SimpleActorFactory  ) 
 

Definition at line 26 of file SimpleActorFactory.cpp.


Member Function Documentation

void se_core::CompositeFactory::addComponent ComponentFactory f  )  [inherited]
 

Definition at line 76 of file CompositeFactory.cpp.

References Assert.

Referenced by se_core::CompositeParser::parse(), se_ogre::O3dThingParser::parse(), and se_basic::SimpleActorParser::parse().

void se_core::CompositeFactory::addGenericComponent CompositeType  type,
const ComponentFactory f
[inline, static, inherited]
 

Definition at line 43 of file CompositeFactory.hpp.

Composite * se_basic::SimpleActorFactory::create  )  const [virtual]
 

Reimplemented from se_core::CompositeFactory.

Definition at line 36 of file SimpleActorFactory.cpp.

References se_core::StatComponent::abilities(), se_core::PhysicsComponent::nextMove(), se_core::Actor::nextPos(), se_core::Abilities::setBases(), se_core::Pos::setBounds(), se_core::CollisionComponent::setCollide(), se_core::CollisionComponent::setCollideable(), se_core::StatComponent::setDefaultAction(), se_core::Actor::setDefaultPhysics(), se_core::CollisionComponent::setDoObstructView(), se_core::CollisionComponent::setSubstance(), and se_core::Composite::setTag().

void se_core::CompositeFactory::createComponents Composite owner  )  const [protected, inherited]
 

Definition at line 83 of file CompositeFactory.cpp.

References se_core::ComponentFactory::create().

void se_core::CompositeFactory::createGenericComponents Composite owner  )  const [protected, inherited]
 

Definition at line 91 of file CompositeFactory.cpp.

CompositeFactory::Generic & se_core::CompositeFactory::gen  )  [static, protected, inherited]
 

Definition at line 31 of file CompositeFactory.cpp.

const char * se_core::CompositeFactory::name  )  const [inherited]
 

Definition at line 70 of file CompositeFactory.cpp.

Referenced by se_core::SpawnManager::addFactory(), and se_ogre::O3dManager::updateStats().

void se_core::CompositeFactory::release Composite t  )  const [virtual, inherited]
 

Definition at line 64 of file CompositeFactory.cpp.

Referenced by se_core::SpawnManager::performDestructions(), and se_core::AreaManager::resetAll().

void se_basic::SimpleActorFactory::setAnim int  id,
int  movementMode,
float  pos,
float  speed
 

Definition at line 148 of file SimpleActorFactory.cpp.

References Assert.

Referenced by se_basic::SimpleActorParser::parsePos().

void se_basic::SimpleActorFactory::setBounds const se_core::BoundingBox b  ) 
 

Definition at line 79 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setCollide const char *  name  ) 
 

Definition at line 110 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setCollideable bool  isCollideable  ) 
 

Definition at line 91 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setDefaultAction const char *  name  ) 
 

Definition at line 103 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setFriction float  linear,
float  angular,
float  bounceDecay
 

Definition at line 140 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setMass float  m  ) 
 

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setPhysics const char *  name  ) 
 

Definition at line 97 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setPickable bool  isPickable  ) 
 

Definition at line 85 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setSpawnPoints int  count,
se_core::ViewPoint *const *  spawnPoints
 

Copy spawn points.

Definition at line 122 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_basic::SimpleActorFactory::setSubstance int  s  ) 
 

Definition at line 115 of file SimpleActorFactory.cpp.

Referenced by se_basic::SimpleActorParser::parse().

void se_core::CompositeFactory::setTag int  t  )  [inline, inherited]
 

Definition at line 47 of file CompositeFactory.hpp.

Referenced by se_basic::SimpleActorParser::parse().

int se_core::CompositeFactory::tag  )  [inline, inherited]
 

Definition at line 48 of file CompositeFactory.hpp.

int se_core::CompositeFactory::type  )  const [inline, inherited]
 

Definition at line 36 of file CompositeFactory.hpp.


Member Data Documentation

se_core::Abilities se_basic::SimpleActorFactory::abilities_ [protected]
 

Definition at line 51 of file SimpleActorFactory.hpp.

se_core::ActorFactory se_basic::SimpleActorFactory::actorFactory_ [protected]
 

Definition at line 41 of file SimpleActorFactory.hpp.

se_core::Anim se_basic::SimpleActorFactory::anim_[se_core::Pos::MAX_ANIMS] [protected]
 

Definition at line 58 of file SimpleActorFactory.hpp.

se_core::BoundingBox se_basic::SimpleActorFactory::bounds_ [protected]
 

Definition at line 44 of file SimpleActorFactory.hpp.

const se_core::ThingCollide* se_basic::SimpleActorFactory::collide_ [protected]
 

Definition at line 49 of file SimpleActorFactory.hpp.

se_core::CollisionComponentFactory se_basic::SimpleActorFactory::collisionFactory_ [protected]
 

Definition at line 42 of file SimpleActorFactory.hpp.

int se_core::CompositeFactory::componentCount_ [protected, inherited]
 

Definition at line 59 of file CompositeFactory.hpp.

ComponentFactory* se_core::CompositeFactory::components_[MAX_COMPONENTS] [protected, inherited]
 

Definition at line 60 of file CompositeFactory.hpp.

se_core::ActionAndParameter* se_basic::SimpleActorFactory::defaultAction_ [protected]
 

Definition at line 50 of file SimpleActorFactory.hpp.

bool se_basic::SimpleActorFactory::isCollideable_ [protected]
 

Definition at line 46 of file SimpleActorFactory.hpp.

bool se_basic::SimpleActorFactory::isPickable_ [protected]
 

Definition at line 45 of file SimpleActorFactory.hpp.

const int se_core::CompositeFactory::MAX_COMPONENTS = 32 [static, protected, inherited]
 

Definition at line 58 of file CompositeFactory.hpp.

se_core::Move se_basic::SimpleActorFactory::move_ [protected]
 

Definition at line 47 of file SimpleActorFactory.hpp.

String* se_core::CompositeFactory::name_ [protected, inherited]
 

Definition at line 51 of file CompositeFactory.hpp.

const se_core::Physics* se_basic::SimpleActorFactory::physics_ [protected]
 

Definition at line 48 of file SimpleActorFactory.hpp.

int se_basic::SimpleActorFactory::spawnPointCount_ [protected]
 

Definition at line 54 of file SimpleActorFactory.hpp.

se_core::ViewPoint** se_basic::SimpleActorFactory::spawnPoints_ [protected]
 

Definition at line 55 of file SimpleActorFactory.hpp.

int se_basic::SimpleActorFactory::substance_ [protected]
 

Definition at line 56 of file SimpleActorFactory.hpp.

int se_core::CompositeFactory::tag_ [protected, inherited]
 

Definition at line 53 of file CompositeFactory.hpp.

CompositeType se_core::CompositeFactory::type_ [protected, inherited]
 

Definition at line 52 of file CompositeFactory.hpp.


The documentation for this class was generated from the following files:

Home Page | SagaEngine trunk (updated nightly) reference generated Sun Dec 2 20:06:22 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo