changeset 309 | 05a39422c81e |
parent 308 | 60f4b55d5713 |
child 412 | 721c60072091 |
--- a/src/Projectile.hh Mon Dec 08 20:57:16 2008 +0000 +++ b/src/Projectile.hh Mon Dec 08 21:00:50 2008 +0000 @@ -63,6 +63,11 @@ */ void addKillToOwner (); + /** + * Return the owner of the projectile. + */ + const Player* getOwner (); + protected: /** * Removes ground at given position if applicable, and destroys this PhysicsObject.