Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields

Projectile Class Reference

Collaboration diagram for Projectile:

Collaboration graph
[legend]

Detailed Description

Author:
Gabor Torok


Public Member Functions

 Projectile (Creature *creature, Creature *target, Item *item, Shape *shape, float parabolic=0.0f, bool stopOnImpact=true, bool seeker=false)
 Projectile (Creature *creature, Creature *target, Spell *spell, Shape *shape, float parabolic=0.0f, bool stopOnImpact=true, bool seeker=false)
 Projectile (Creature *creature, int x, int y, int w, int d, Spell *spell, Shape *shape, float parabolic=0.0f, bool stopOnImpact=true)
bool doesStopOnImpact ()
bool move ()
float getX ()
float getY ()
float getAngle ()
Shape * getShape ()
Creature * getCreature ()
ItemgetItem ()
Spell * getSpell ()
bool atTargetLocation ()
void debug ()

Static Public Member Functions

static ProjectileaddProjectile (Creature *creature, Creature *target, Item *item, Shape *shape, int maxProjectiles, bool stopOnImpact=true)
static ProjectileaddProjectile (Creature *creature, Creature *target, Spell *spell, Shape *shape, int maxProjectiles, bool stopOnImpact=true)
static ProjectileaddProjectile (Creature *creature, int x, int y, int w, int d, Spell *spell, Shape *shape, int maxProjectiles, bool stopOnImpact=true)
static void removeProjectile (Projectile *p)
static void moveProjectiles (Scourge *scourge)
static map< Creature *, vector<
Projectile * > * > * 
getProjectileMap ()
static void resetProjectiles ()

Protected Member Functions

void commonInit ()
void calculateAngle ()


The documentation for this class was generated from the following files:
Generated on Thu Jun 16 21:50:51 2005 for scourge by  doxygen 1.4.0