Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/terrain.old/src/lib/collision_reaction/cr_physics_full_walk.h

Last change on this file was 9235, checked in by bensch, 18 years ago

merged the presentation back

File size: 611 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_PHYSICS_FULL_WALK_H
7#define _CR_PHYSICS_FULL_WALK_H
8
9#include "collision_reaction.h"
10
11
12class Collision;
13
14//! A class representing a reaction to a collision: dealing damage to an object
15class CRPhysicsFullWalk : public CollisionReaction
16{
17  public:
18    CRPhysicsFullWalk();
19    virtual ~CRPhysicsFullWalk();
20
21    virtual void reactToCollision(Collision* collision);
22
23    virtual void update(WorldEntity* entity);
24
25
26  private:
27    float        downspeed;
28};
29
30#endif /* _CR_PHYSICS_FULL_WALK_H */
Note: See TracBrowser for help on using the repository browser.