se_core::PhysicsComponentFactory Class Reference

#include <PhysicsComponentFactory.hpp>

Inheritance diagram for se_core::PhysicsComponentFactory:

se_core::ComponentFactory List of all members.

Public Member Functions

 PhysicsComponentFactory ()
Componentcreate (Composite *owner) const
void setPhysics (const char *name)
void setMass (float m)
void setFriction (float linear, float angular, float bounceDecay)
virtual void release (Component *t) const
bool doDestroy () const
void setDoDestroy (bool f)

Protected Attributes

se_core::Move move_
const se_core::Physicsphysics_
int type_
bool doDestroy_

Constructor & Destructor Documentation

se_core::PhysicsComponentFactory::PhysicsComponentFactory  ) 
 

Definition at line 33 of file PhysicsComponentFactory.cpp.

References se_core::sct_PHYSICS.


Member Function Documentation

Component * se_core::PhysicsComponentFactory::create Composite owner  )  const [virtual]
 

Implements se_core::ComponentFactory.

Definition at line 39 of file PhysicsComponentFactory.cpp.

bool se_core::ComponentFactory::doDestroy  )  const [inline, inherited]
 

Definition at line 35 of file ComponentFactory.hpp.

void se_core::ComponentFactory::release Component t  )  const [virtual, inherited]
 

Definition at line 44 of file ComponentFactory.cpp.

Referenced by se_core::Composite::releaseComponents().

void se_core::ComponentFactory::setDoDestroy bool  f  )  [inherited]
 

Definition at line 39 of file ComponentFactory.cpp.

References Assert.

Referenced by se_core::ParseManager::parseComponent().

void se_core::PhysicsComponentFactory::setFriction float  linear,
float  angular,
float  bounceDecay
 

Definition at line 68 of file PhysicsComponentFactory.cpp.

Referenced by se_core::PhysicsComponentParser::parse().

void se_core::PhysicsComponentFactory::setMass float  m  ) 
 

Referenced by se_core::PhysicsComponentParser::parse().

void se_core::PhysicsComponentFactory::setPhysics const char *  name  ) 
 

Definition at line 56 of file PhysicsComponentFactory.cpp.

Referenced by se_core::PhysicsComponentParser::parse().


Member Data Documentation

bool se_core::ComponentFactory::doDestroy_ [protected, inherited]
 

Definition at line 40 of file ComponentFactory.hpp.

se_core::Move se_core::PhysicsComponentFactory::move_ [protected]
 

Definition at line 45 of file PhysicsComponentFactory.hpp.

const se_core::Physics* se_core::PhysicsComponentFactory::physics_ [protected]
 

Definition at line 46 of file PhysicsComponentFactory.hpp.

int se_core::ComponentFactory::type_ [protected, inherited]
 

Definition at line 39 of file ComponentFactory.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:27 2007 by Doxygen version 1.3.9.1.

SourceForge.net Logo