Tactics: Western Philosophers Vs. Musicians  0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Static Public Attributes | Protected Attributes | Friends | List of all members
Ogre::PathAffector Class Reference

#include <OgrePathAffector.h>

Inheritance diagram for Ogre::PathAffector:

Classes

class  CmdInterpolatorType
 

Public Member Functions

 PathAffector (ParticleSystem *psys)
 
virtual ~PathAffector ()
 
void _initParticle (Particle *pParticle)
 
void _affectParticles (ParticleSystem *pSystem, Real timeElapsed)
 
void addPath (const OpenSkyNet::Math::Path &path_, const float &interpolatorValue_, bool force_=false)
 
OpenSkyNet::Math::PathgetPath (unsigned int index_)
 
void setInterpolatorType (OpenSkyNet::Math::Interpolator::TYPE interpolatorType_)
 
OpenSkyNet::Math::Interpolator::TYPE getInterpolatorType () const
 

Static Public Attributes

static CmdInterpolatorType msInterpolatorTypeCmd
 

Protected Attributes

OpenSkyNet::Utils::PrecisionTimer _timer
 
OpenSkyNet::Core::PathUpdater_pathUpd
 
std::map< Ogre::Particle
*, OpenSkyNet::Core::ParticleObject * > 
_partMap
 
OpenSkyNet::Math::Path _particlePaths [MAX_PATHS]
 
const float * _interpolatorValues [MAX_PATHS]
 
unsigned int _currPathIndex
 
unsigned int _lastPathIndex
 
OpenSkyNet::Math::Interpolator::TYPE _interpolatorType
 

Friends

class Ogre::PathEmitter
 

Detailed Description

This plugin subclass of ParticleAffector allows particles to follow paths.

Constructor & Destructor Documentation

PathAffector::PathAffector ( ParticleSystem *  psys)
PathAffector::~PathAffector ( )
virtual

Member Function Documentation

void PathAffector::_affectParticles ( ParticleSystem *  pSystem,
Real  timeElapsed 
)

See ParticleAffector.

void PathAffector::_initParticle ( Particle *  pParticle)

See ParticleAffector.

void Ogre::PathAffector::addPath ( const OpenSkyNet::Math::Path path_,
const float &  interpolatorValue_,
bool  force_ = false 
)
inline
OpenSkyNet::Math::Interpolator::TYPE Ogre::PathAffector::getInterpolatorType ( ) const
inline
OpenSkyNet::Math::Path& Ogre::PathAffector::getPath ( unsigned int  index_)
inline
void Ogre::PathAffector::setInterpolatorType ( OpenSkyNet::Math::Interpolator::TYPE  interpolatorType_)
inline

Friends And Related Function Documentation

friend class Ogre::PathEmitter
friend

Member Data Documentation

unsigned int Ogre::PathAffector::_currPathIndex
protected
OpenSkyNet::Math::Interpolator::TYPE Ogre::PathAffector::_interpolatorType
protected
const float* Ogre::PathAffector::_interpolatorValues[MAX_PATHS]
protected
unsigned int Ogre::PathAffector::_lastPathIndex
protected
OpenSkyNet::Math::Path Ogre::PathAffector::_particlePaths[MAX_PATHS]
protected
std::map<Ogre::Particle*, OpenSkyNet::Core::ParticleObject*> Ogre::PathAffector::_partMap
protected
OpenSkyNet::Core::PathUpdater* Ogre::PathAffector::_pathUpd
protected
OpenSkyNet::Utils::PrecisionTimer Ogre::PathAffector::_timer
protected
PathAffector::CmdInterpolatorType PathAffector::msInterpolatorTypeCmd
static

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