
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 () |
| Item * | getItem () |
| Spell * | getSpell () |
| bool | atTargetLocation () |
| void | debug () |
Static Public Member Functions | |
| static Projectile * | addProjectile (Creature *creature, Creature *target, Item *item, Shape *shape, int maxProjectiles, bool stopOnImpact=true) |
| static Projectile * | addProjectile (Creature *creature, Creature *target, Spell *spell, Shape *shape, int maxProjectiles, bool stopOnImpact=true) |
| static Projectile * | addProjectile (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 () |
1.4.0