Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/new_class_id/src/lib/collision_reaction/cr_physics_ground_walk.h @ 9807

Last change on this file since 9807 was 9715, checked in by bensch, 18 years ago

renamed newclassid to classid and newobjectlist to objectlist

File size: 669 bytes
RevLine 
[8200]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{
[9715]17  ObjectListDeclaration(CRPhysicsGroundWalk);
[8200]18  public:
19    CRPhysicsGroundWalk();
20    virtual ~CRPhysicsGroundWalk();
21
22    virtual void reactToCollision(Collision* collision);
23
[8256]24    virtual void update(WorldEntity* entity);
25
[8894]26
[8200]27  private:
[8724]28    float        downspeed;
[8200]29};
30
31#endif /* _CR_PHYSICS_GROUND_WALK_H */
Note: See TracBrowser for help on using the repository browser.