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/Player/Player.h
- Revision:
- 40:cbcbf6fc1421
- Parent:
- 34:1d5b4da3935e
- Child:
- 50:2c5cb92a5361
diff -r 0c2521949429 -r cbcbf6fc1421 Entity/Player/Player.h
--- a/Entity/Player/Player.h Tue May 07 09:43:36 2019 +0000
+++ b/Entity/Player/Player.h Tue May 07 12:42:12 2019 +0000
@@ -22,7 +22,6 @@
void increment_frames(float mapped_x, float mapped_y);
char * get_frame();
void draw_player(N5110 &lcd);
- void draw_bullets(N5110 &lcd);
public:
// Constructors
@@ -40,6 +39,7 @@
virtual void move(float, float, char * map, bool * doorways);
virtual void take_damage(int damage);
virtual void draw(N5110 &lcd);
+ void draw_bullets(N5110 &lcd, int j);
bool update_bullets(char * map, bool * doorways);
void delete_bullets();
void buttons(bool button_A, bool button_B, bool button_Y, bool button_X);