From aa9cdee46fea21ad50b70a4513aa39aebe280b7f Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 27 Jul 2017 23:21:23 +0100 Subject: Adding initial docs --- classyage_1_1ParticleBody.html | 145 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 classyage_1_1ParticleBody.html (limited to 'classyage_1_1ParticleBody.html') diff --git a/classyage_1_1ParticleBody.html b/classyage_1_1ParticleBody.html new file mode 100644 index 00000000..d66c3bd9 --- /dev/null +++ b/classyage_1_1ParticleBody.html @@ -0,0 +1,145 @@ + + + + + + + +YAGE: yage::ParticleBody Class Reference + + + + + + + + + +
+
+ + + + + + +
+
YAGE +
+
Yet Another Game Engine
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
yage::ParticleBody Class Reference
+
+
+
+Inheritance diagram for yage::ParticleBody:
+
+
+ + +yage::Body +yage::RigidBody + +
+ + + + + + + + + + + + + +

+Public Member Functions

ParticleBody (const Vector2d &position=Vector2d(0, 0), double mass=1, const Vector2d &velocity=Vector2d(0, 0), bool gravity=true)
 
+virtual void applyForce (const Vector2d &force)
 
+virtual void update ()
 
- Public Member Functions inherited from yage::Body
+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 (const Vector2d &position=Vector2d(0, 0), double mass=1, const 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)
 
+
The documentation for this class was generated from the following files: +
+ + + + -- cgit