Last change
on this file since 9990 was
9982,
checked in by patrick, 18 years ago
|
collision reaction classes adapted to new structure
|
File size:
597 bytes
|
Rev | Line | |
---|
[9125] | 1 | /*! |
---|
| 2 | * @file cr_object_damage.h |
---|
| 3 | * Definition of a collision reaction: dealing damage to an object |
---|
| 4 | */ |
---|
| 5 | |
---|
| 6 | #ifndef _CR_PHYSICS_FULL_WALK_H |
---|
| 7 | #define _CR_PHYSICS_FULL_WALK_H |
---|
| 8 | |
---|
| 9 | #include "collision_reaction.h" |
---|
| 10 | |
---|
[9889] | 11 | namespace CoRe |
---|
| 12 | { |
---|
[9125] | 13 | |
---|
[9889] | 14 | class Collision; |
---|
[9125] | 15 | |
---|
[9889] | 16 | //! A class representing a reaction to a collision: dealing damage to an object |
---|
| 17 | class CRPhysicsFullWalk : public CollisionReaction |
---|
| 18 | { |
---|
| 19 | ObjectListDeclaration(CRPhysicsFullWalk); |
---|
[9125] | 20 | public: |
---|
| 21 | CRPhysicsFullWalk(); |
---|
| 22 | virtual ~CRPhysicsFullWalk(); |
---|
| 23 | |
---|
| 24 | virtual void reactToCollision(Collision* collision); |
---|
[9889] | 25 | }; |
---|
| 26 | } |
---|
[9125] | 27 | #endif /* _CR_PHYSICS_FULL_WALK_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.