Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/cr/src/lib/collision_detection/collision.h @ 7934

Last change on this file since 7934 was 7934, checked in by patrick, 19 years ago

collision event

File size: 662 bytes
Line 
1/*!
2 * @file collision.h
3 *  Definition of a collision event
4 */
5
6#ifndef _COLLISION_H
7#define _COLLISION_H
8
9#include "vector.h"
10
11class WorldEntity;
12class BoundingVolume;
13
14
15//! A class representing a simple collision
16class Collision {
17
18 public:
19  Collision();
20  virtual ~Collision();
21
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
30};
31
32#endif /* _COLLISION_H */
Note: See TracBrowser for help on using the repository browser.