#include <ThrownBomb.h>
Inheritance diagram for ThrownBomb:
Public Methods | |
ThrownBomb () | |
Default constructor. | |
ThrownBomb (const Rect &initPos, int initDir, float size, float delay, float power, Character *c) | |
Constructor. | |
virtual | ~ThrownBomb () |
Destructor. | |
virtual bool | update (float dt) |
Update the bomb's logic. | |
virtual void | draw (const Point &anchor) |
Draw the bomb on the screen using the specified anchor point. | |
virtual void | doCollision (Entity *otherEntity) |
Handles the collision between 2 entities by finding what type of entities they are and then handling the different types of collisions;. |
|
Default constructor. Authors: Jim Clase, Jonathan Hilliker, Jason Winnebeck |
|
Constructor.
|
|
Destructor.
|
|
Handles the collision between 2 entities by finding what type of entities they are and then handling the different types of collisions;.
Reimplemented from Bomb. |
|
Draw the bomb on the screen using the specified anchor point.
Reimplemented from Bomb. |
|
Update the bomb's logic.
Reimplemented from Bomb. |