Changeset 2497 for code/branches/presentation/src/orxonox/objects/weaponSystem/projectiles/Projectile.h
- Timestamp:
- Dec 17, 2008, 5:41:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/orxonox/objects/weaponSystem/projectiles/Projectile.h
r2494 r2497 33 33 34 34 #include "objects/worldentities/MovableEntity.h" 35 #include "objects/worldentities/pawns/Pawn.h" 35 36 #include "tools/Timer.h" 36 37 37 38 namespace orxonox 38 39 { 39 class _OrxonoxExport Projectile : public MovableEntity 40 class _OrxonoxExport Projectile : public MovableEntity, public PawnListener 40 41 { 41 42 public: … … 48 49 virtual void tick(float dt); 49 50 virtual bool collidesAgainst(WorldEntity* otherObject, btManifoldPoint& contactPoint); 51 virtual void destroyedPawn(Pawn* pawn); 50 52 51 53 inline void setOwner(Pawn* owner)
Note: See TracChangeset
for help on using the changeset viewer.