summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:13:11 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2012-12-11 21:13:11 +0000
commitd2112a206edca777ec8fe3cf6bd1cdb28620d7cb (patch)
treec050bd05a3166f6029371901e3041102aeee730c
parent6f6cbc2fd8504a633b65c836520c804d35b5e854 (diff)
efbb: refactored the use of circle to comply the circle -> cylinder changes
SVN revision: 80723
-rw-r--r--src/bin/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/main.c b/src/bin/main.c
index 5bbea44..4a078ba 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -418,7 +418,7 @@ _mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__,
418 evas_object_layer_set(body_image, LAYER_BLOCKS); 418 evas_object_layer_set(body_image, LAYER_BLOCKS);
419 evas_object_show(body_image); 419 evas_object_show(body_image);
420 420
421 body = ephysics_body_circle_add(game->cur_world); 421 body = ephysics_body_cylinder_add(game->cur_world);
422 ephysics_body_mass_set(body, AMMO_MASS); 422 ephysics_body_mass_set(body, AMMO_MASS);
423 ephysics_body_damping_set(body, 0.3, 0.16); 423 ephysics_body_damping_set(body, 0.3, 0.16);
424 ephysics_body_sleeping_threshold_set(body, 30, 240); 424 ephysics_body_sleeping_threshold_set(body, 30, 240);
@@ -630,7 +630,7 @@ _create_target(Game *game, const char *type, int w, int h, int x, int y)
630 if (!strcmp(type, "boss")) 630 if (!strcmp(type, "boss"))
631 body = ephysics_body_box_add(game->cur_world); 631 body = ephysics_body_box_add(game->cur_world);
632 else 632 else
633 body = ephysics_body_circle_add(game->cur_world); 633 body = ephysics_body_cylinder_add(game->cur_world);
634 634
635 ephysics_body_mass_set(body, TARGET_MASS); 635 ephysics_body_mass_set(body, TARGET_MASS);
636 ephysics_body_evas_object_set(body, body_image, EINA_TRUE); 636 ephysics_body_evas_object_set(body, body_image, EINA_TRUE);