Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MotionSensor
Diff: Entity/Bullets/Bullets.cpp
- Revision:
- 26:abbc19edc5c1
- Parent:
- 23:5a8f75e93508
- Child:
- 27:a1b41626f57c
--- a/Entity/Bullets/Bullets.cpp Fri Apr 26 02:38:05 2019 +0000
+++ b/Entity/Bullets/Bullets.cpp Mon Apr 29 02:45:17 2019 +0000
@@ -5,12 +5,12 @@
moving = true;
face = 0;
hp = 1;
- hitbox.width = 2;
- hitbox.height = 2;
+ hitbox.width = 3;
+ hitbox.height = 3;
position.x = pos_x;
position.y = pos_y;
- sprite_size.width = 2;
- sprite_size.height = 2;
+ sprite_size.width = 3;
+ sprite_size.height = 3;
sprite_size.offset_x = 0;
sprite_size.offset_y = 1;
direction = dir;