lilith3d::BlasterSequence Class Reference

#include <sequence.h>

Inheritance diagram for lilith3d::BlasterSequence:

lilith3d::ISequence List of all members.

Detailed Description

Create a blaster bolt.


Public Member Functions

 BlasterSequence (const grinliz::Vector3F &origin, const grinliz::Vector3F &dir, float speed, const Mesh *mesh)
void SetColor (const grinliz::Color3F &color)
 Set the beam color - should be called before AddSequence.

Public Attributes

grinliz::Publisher< BlasterListenerpublish
 A publisher object to notify when hits occur.


Constructor & Destructor Documentation

lilith3d::BlasterSequence::BlasterSequence ( const grinliz::Vector3F &  origin,
const grinliz::Vector3F &  dir,
float  speed,
const Mesh mesh 
)

Create a blaster bolt.

Parameters:
origin Where the bolt starts
dir Normal vector of the bolt
speed Speed in map/second of the bont
mesh If the bolt is emitted from a mesh, it should not self intersect, which is prevented by passing in a mesh pointer.


The documentation for this class was generated from the following file:
Generated on Fri Mar 23 19:36:28 2007 for Lilith3D by  doxygen 1.5.1-p1