void draw(DrawingContext& context);
void collision_solid(const CollisionHit& hit);
HitResponse collision(GameObject& other, const CollisionHit& hit);
+
+ /**
+ * Makes bullet bounce off an object (that got hit).
+ * To be called by the collision handler of that object.
+ * Note that the @c hit parameter is filled in as perceived by the object, not by the bullet.
+ */
+ void ricochet(GameObject& other, const CollisionHit& hit);
BonusType get_type()
{