Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/cr/src/lib/collision_reaction/collision.h @ 7937

Last change on this file since 7937 was 7935, checked in by patrick, 18 years ago

cr: moved the collision class src

File size: 662 bytes
RevLine 
[7934]1/*!
[5039]2 * @file collision.h
[7934]3 *  Definition of a collision event
4 */
[4510]5
[4511]6#ifndef _COLLISION_H
7#define _COLLISION_H
[4510]8
[4520]9#include "vector.h"
[4510]10
[4520]11class WorldEntity;
12class BoundingVolume;
[4510]13
[7934]14
[4511]15//! A class representing a simple collision
[7934]16class Collision {
[4510]17
18 public:
[4511]19  Collision();
20  virtual ~Collision();
[4510]21
[7934]22
23
24 private:
25  WorldEntity*      entityA;                       //!< the collision body A
26  WorldEntity*      entityB;                       //!< the collision body B
27
28  BoundingVolume*   bvA;                          //!< reference to the bounding volume A
29  BoundingVolume*   bvB;                          //!< reference to the bounding volume B
[4510]30};
31
[4511]32#endif /* _COLLISION_H */
Note: See TracBrowser for help on using the repository browser.