equal
deleted
inserted
replaced
6 #include "GameState.hh" |
6 #include "GameState.hh" |
7 #include "PhysicsObject.hh" |
7 #include "PhysicsObject.hh" |
8 #include "Timer.hh" |
8 #include "Timer.hh" |
9 #include "GraphicsPointer.hh" |
9 #include "GraphicsPointer.hh" |
10 |
10 |
|
11 /** |
|
12 * A projectile is a flying PhysicsObject, created by firing a player's weapon. It has an initial velocity, is |
|
13 * represented as a diamond-shape with the given "radius", can explode or bounce on collisions, expires at some point, |
|
14 * and can remove ground around it upon exploding. |
|
15 */ |
11 class Projectile : public PhysicsObject { |
16 class Projectile : public PhysicsObject { |
12 protected: |
17 protected: |
13 /** |
18 /** |
14 * Which player fired this projectile? |
19 * Which player fired this projectile? |
15 */ |
20 */ |