![]() |
Yet Another Game Engine
|
#include <collisionbody.h>
Public Member Functions | |
| CollisionBody () | |
| virtual | ~CollisionBody () |
Public Member Functions inherited from yage::Body | |
| virtual void | applyForce (const Vector2d &force)=0 |
| virtual void | update ()=0 |
| double | xPosition () const |
| double | yPosition () const |
Additional Inherited Members | |
Static Public Attributes inherited from yage::Body | |
| static const double | GRAVITY = -9.81 |
Protected Member Functions inherited from yage::Body | |
| Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false) | |
Protected Attributes inherited from yage::Body | |
| Vector2d | position_ = Vector2d(0, 0) |
| double | mass_ = 1 |
| Vector2d | velocity_ = Vector2d(0, 0) |
| bool | gravity_ = true |
| Vector2d | acceleration_ = Vector2d(0, 0) |
| Vector2d | force_ = Vector2d(0, 0) |
| yage::CollisionBody::CollisionBody | ( | ) |
|
virtual |
1.8.6