PhysicsParticleActionObject Class Reference

#include <PhysicsParticleObject.h>

Inheritance diagram for PhysicsParticleActionObject:

PhysicsParticleObject

List of all members.

Public Member Functions

 PhysicsParticleActionObject ()
virtual ~PhysicsParticleActionObject ()

Protected Member Functions

virtual void shotWallHit (CollisionInfo &collision)
virtual void shotShieldHit (Target *target)
virtual void bounceShieldHit (Target *target)


Detailed Description

Definition at line 137 of file PhysicsParticleObject.h.


Constructor & Destructor Documentation

PhysicsParticleActionObject::PhysicsParticleActionObject (  ) 

Definition at line 674 of file PhysicsParticleObject.cpp.

PhysicsParticleActionObject::~PhysicsParticleActionObject (  )  [virtual]

Definition at line 678 of file PhysicsParticleObject.cpp.


Member Function Documentation

void PhysicsParticleActionObject::shotWallHit ( CollisionInfo &  collision  )  [protected, virtual]

Definition at line 769 of file PhysicsParticleObject.cpp.

References addWallCollisionParticle(), FixedVector::asVector(), and PhysicsParticleObject::position_.

void PhysicsParticleActionObject::shotShieldHit ( Target target  )  [protected, virtual]

Reimplemented from PhysicsParticleObject.

Definition at line 682 of file PhysicsParticleObject.cpp.

References ActionController::addAction(), PhysicsParticleObject::context_, PhysicsParticleInfo::data_, Accessory::getAction(), ScorchedContext::getActionController(), TargetShield::getCurrentShield(), Shield::getHitRemovePower(), Target::getPlayerId(), Target::getShield(), WeaponProjectile::getShieldHurtFactor(), TargetShield::getShieldPower(), Shield::getShieldType(), ShotProjectile::getWeapon(), PhysicsParticleObject::info_, PhysicsParticleObject::position_, TargetShield::setShieldPower(), and Shield::ShieldTypeRoundMag.

void PhysicsParticleActionObject::bounceShieldHit ( Target target  )  [protected, virtual]

Reimplemented from PhysicsParticleObject.

Definition at line 705 of file PhysicsParticleObject.cpp.

References ActionController::addAction(), PhysicsParticleObject::context_, PhysicsParticleInfo::data_, Accessory::getAction(), ScorchedContext::getActionController(), TargetShield::getCurrentShield(), Target::getPlayerId(), Target::getShield(), WeaponRoller::getShieldHurtFactor(), Shield::getShieldType(), ShotBounce::getWeapon(), PhysicsParticleObject::info_, PhysicsParticleObject::position_, and Shield::ShieldTypeRoundMag.


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:05 2009 for Scorched3D by  doxygen 1.5.3