--- a/src/PhysicsObject.cc Thu Dec 04 21:10:41 2008 +0000
+++ b/src/PhysicsObject.cc Thu Dec 04 21:59:23 2008 +0000
@@ -306,12 +306,14 @@
this->facingRight = facingRight;
}
-void PhysicsObject::updatePhysics (Vector position, Vector velocity, bool inAir) {
+void PhysicsObject::updatePhysics (Vector position, Vector velocity, bool inAir, bool facingRight, float aim) {
this->position = position;
this->velocity = velocity;
this->inAir = inAir;
+ this->facingRight = facingRight;
+ this->aim = aim;
}
-
+
Vector PhysicsObject::getPosition () {
return this->position;
}