INF("World stopped\n");
}
+static void
+_world_update_cb(void *data __UNUSED__, EPhysics_World *world __UNUSED__, void *event_info __UNUSED__)
+{
+ INF("World update\n");
+}
+
void
test_jumping_balls(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
test_data->data = bt;
ephysics_world_event_callback_add(world, EPHYSICS_CALLBACK_WORLD_STOPPED,
_world_stopped_cb, bt);
+ ephysics_world_event_callback_add(world, EPHYSICS_CALLBACK_WORLD_UPDATE,
+ _world_update_cb, NULL);
boundary = ephysics_body_bottom_boundary_add(test_data->world);
ephysics_body_restitution_set(boundary, 0.65);
EPHYSICS_CALLBACK_WORLD_DEL, /**< World being deleted (called before free) */
EPHYSICS_CALLBACK_WORLD_STOPPED, /**< no objects are moving any more */
EPHYSICS_CALLBACK_WORLD_CAMERA_MOVED, /**< camera position changed */
+ EPHYSICS_CALLBACK_WORLD_UPDATE, /**< world being updated */
EPHYSICS_CALLBACK_WORLD_LAST, /**< kept as sentinel, not really an event */
} EPhysics_Callback_World_Type;