Last change
on this file since 10770 was
10013,
checked in by patrick, 18 years ago
|
merged the collision reaction branche back to trunk
|
File size:
577 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file cr_object_damage.h |
---|
3 | * Definition of a collision reaction: dealing damage to an object |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _CR_OBJECT_DAMAGE_H |
---|
7 | #define _CR_OBJECT_DAMAGE_H |
---|
8 | |
---|
9 | |
---|
10 | #include "collision_reaction.h" |
---|
11 | |
---|
12 | |
---|
13 | namespace CoRe |
---|
14 | { |
---|
15 | |
---|
16 | class Collision; |
---|
17 | |
---|
18 | //! A class representing a reaction to a collision: dealing damage to an object |
---|
19 | class CRObjectDamage : public CollisionReaction |
---|
20 | { |
---|
21 | ObjectListDeclaration(CRObjectDamage); |
---|
22 | public: |
---|
23 | CRObjectDamage(); |
---|
24 | virtual ~CRObjectDamage(); |
---|
25 | |
---|
26 | virtual void reactToCollision(Collision* collision); |
---|
27 | |
---|
28 | }; |
---|
29 | } |
---|
30 | |
---|
31 | #endif /* _CR_OBJECT_DAMAGE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.