Last change
on this file since 9247 was
8190,
checked in by patrick, 19 years ago
|
trunk: merged the cr branche to trunk
|
File size:
515 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 | #include "collision_reaction.h" |
---|
10 | |
---|
11 | |
---|
12 | class Collision; |
---|
13 | |
---|
14 | //! A class representing a reaction to a collision: dealing damage to an object |
---|
15 | class CRObjectDamage : public CollisionReaction |
---|
16 | { |
---|
17 | public: |
---|
18 | CRObjectDamage(); |
---|
19 | virtual ~CRObjectDamage(); |
---|
20 | |
---|
21 | virtual void reactToCollision(Collision* collision); |
---|
22 | |
---|
23 | private: |
---|
24 | |
---|
25 | }; |
---|
26 | |
---|
27 | #endif /* _CR_OBJECT_DAMAGE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.