src/PhysicsObject.cc
branchnew-physics
changeset 447 fc9e4305fddf
parent 428 712b943195a6
equal deleted inserted replaced
446:e411c0799fcc 447:fc9e4305fddf
   430     this->velocity = Vector(0, 0);
   430     this->velocity = Vector(0, 0);
   431 
   431 
   432     // disable
   432     // disable
   433     disable();
   433     disable();
   434 }
   434 }
   435     
   435 
   436 void PhysicsObject::resume (Vector position) {
   436 void PhysicsObject::resume (Vector position) {
   437     // update position
   437     // update position
   438     setPosition(position);
   438     setPosition(position);
   439 
   439 
   440     // enable again
   440     // enable again