+ explode();
+}
+
+void
+Bomb::grab(MovingObject& object, const Vector& pos, Direction dir)
+{
+ movement = pos - get_pos();
+ this->dir = dir;
+
+ // We actually face the opposite direction of Tux here to make the fuse more
+ // visible instead of hiding it behind Tux
+ sprite->set_action_continued(dir == LEFT ? "ticking-right" : "ticking-left");
+ set_colgroup_active(COLGROUP_DISABLED);
+ grabbed = true;
+ grabber = &object;
+}
+
+void
+Bomb::ungrab(MovingObject& object, Direction dir)
+{
+ this->dir = dir;
+ // portable objects are usually pushed away from Tux when dropped, but we
+ // don't want that, so we set the position
+ //FIXME: why don't we want that? shouldn't behavior be consistent?
+ set_pos(object.get_pos() + Vector(dir == LEFT ? -16 : 16, get_bbox().get_height()*0.66666 - 32));
+ set_colgroup_active(COLGROUP_MOVING);
+ grabbed = false;