YAGE  v0.1.1
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
collisionbody.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2  * collisionbody.h
3  *
4  * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com>
5  * MIT License, see LICENSE file for more details.
6  * ----------------------------------------------------------------------------
7  */
8 
9 #ifndef YAGE_COLLISION_BODY_H
10 #define YAGE_COLLISION_BODY_H
11 
12 #include "body.h"
13 
14 namespace yage
15 {
16 
17 // a collision body will be a body that is static and not affected by gravity,
18 // with infinite mass
19 class CollisionBody : public Body
20 {
21 public:
22  CollisionBody();
23  virtual ~CollisionBody();
24 };
25 
26 } // yage
27 
28 #endif
Definition: body.h:17
virtual ~CollisionBody()
Definition: collisionbody.h:19