Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/collision_reaction/cr_physics_ground_walk.h @ 9061

Last change on this file since 9061 was 8894, checked in by patrick, 18 years ago

merged the branche single_player_map with the trunk

File size: 623 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_GROUND_WALK_H
7#define _CR_PHYSICS_GROUND_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 CRPhysicsGroundWalk : public CollisionReaction
16{
17  public:
18    CRPhysicsGroundWalk();
19    virtual ~CRPhysicsGroundWalk();
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_GROUND_WALK_H */
Note: See TracBrowser for help on using the repository browser.