From 1a8ec165031af3b860028ef1b360acc8e7baf9e6 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Thu, 21 Sep 2017 23:32:46 +0000 Subject: Rebuilding documentation --- classyage_1_1Body.html | 454 ------------------------------------------------- 1 file changed, 454 deletions(-) delete mode 100644 classyage_1_1Body.html (limited to 'classyage_1_1Body.html') diff --git a/classyage_1_1Body.html b/classyage_1_1Body.html deleted file mode 100644 index 5962cda2..00000000 --- a/classyage_1_1Body.html +++ /dev/null @@ -1,454 +0,0 @@ - - - - - - - -YAGE: yage::Body Class Reference - - - - - - - - - - - - - - -
-
- - - - - - -
-
YAGE -  v0.1.1 -
-
Yet Another Game Engine
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
yage::Body Class Referenceabstract
-
-
- -

#include <body.h>

-
-Inheritance diagram for yage::Body:
-
-
- - -yage::CollisionBody -yage::ParticleBody -yage::RigidBody - -
- - - - - - - - - - -

-Public Member Functions

virtual void applyForce (const Vector2d &force)=0
 
virtual void update ()=0
 
double xPosition () const
 
double yPosition () const
 
- - - -

-Static Public Attributes

static const double GRAVITY = -9.81
 
- - - -

-Protected Member Functions

 Body (Vector2d position=Vector2d(0, 0), double mass=1, Vector2d velocity=Vector2d(0, 0), bool gravity=false)
 
- - - - - - - - - - - - - -

-Protected Attributes

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)
 
-

Constructor & Destructor Documentation

- -

◆ Body()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
yage::Body::Body (Vector2d position = Vector2d(0, 0),
double mass = 1,
Vector2d velocity = Vector2d(0, 0),
bool gravity = false 
)
-
-protected
-
- -
-
-

Member Function Documentation

- -

◆ applyForce()

- -
-
- - - - - -
- - - - - - - - -
virtual void yage::Body::applyForce (const Vector2dforce)
-
-pure virtual
-
- -

Implemented in yage::ParticleBody.

- -
-
- -

◆ update()

- -
-
- - - - - -
- - - - - - - -
virtual void yage::Body::update ()
-
-pure virtual
-
- -

Implemented in yage::ParticleBody.

- -
-
- -

◆ xPosition()

- -
-
- - - - - - - -
double yage::Body::xPosition () const
-
- -
-
- -

◆ yPosition()

- -
-
- - - - - - - -
double yage::Body::yPosition () const
-
- -
-
-

Member Data Documentation

- -

◆ acceleration_

- -
-
- - - - - -
- - - - -
Vector2d yage::Body::acceleration_ = Vector2d(0, 0)
-
-protected
-
- -
-
- -

◆ force_

- -
-
- - - - - -
- - - - -
Vector2d yage::Body::force_ = Vector2d(0, 0)
-
-protected
-
- -
-
- -

◆ GRAVITY

- -
-
- - - - - -
- - - - -
const double yage::Body::GRAVITY = -9.81
-
-static
-
- -
-
- -

◆ gravity_

- -
-
- - - - - -
- - - - -
bool yage::Body::gravity_ = true
-
-protected
-
- -
-
- -

◆ mass_

- -
-
- - - - - -
- - - - -
double yage::Body::mass_ = 1
-
-protected
-
- -
-
- -

◆ position_

- -
-
- - - - - -
- - - - -
Vector2d yage::Body::position_ = Vector2d(0, 0)
-
-protected
-
- -
-
- -

◆ velocity_

- -
-
- - - - - -
- - - - -
Vector2d yage::Body::velocity_ = Vector2d(0, 0)
-
-protected
-
- -
-
-
The documentation for this class was generated from the following files: -
-
- - - - -- cgit