src/PhysicsObject.cc
changeset 200 2dbf40661580
parent 197 d9ac888de778
child 205 905028e58ed1
--- 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;
 }