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:
- 34:1d5b4da3935e
- Parent:
- 33:4f3948dcd2f7
- Child:
- 38:09832e662803
- Child:
- 40:cbcbf6fc1421
--- a/Entity/Player/Player.h Mon May 06 13:27:26 2019 +0000
+++ b/Entity/Player/Player.h Mon May 06 13:58:39 2019 +0000
@@ -17,7 +17,7 @@
int invulnerability_counter;
// Private Functions
- void move_player(float mapped_x, float mapped_y, int * map, bool * doorways);
+ void move_player(float mapped_x, float mapped_y, char * map, bool * doorways);
void move_bullets();
void increment_frames(float mapped_x, float mapped_y);
char * get_frame();
@@ -37,10 +37,10 @@
char * get_hearts_sprite();
// Functions
- virtual void move(float, float, int * map, bool * doorways);
+ virtual void move(float, float, char * map, bool * doorways);
virtual void take_damage(int damage);
virtual void draw(N5110 &lcd);
- bool update_bullets(int * map, bool * doorways);
+ bool update_bullets(char * map, bool * doorways);
void delete_bullets();
void buttons(bool button_A, bool button_B, bool button_Y, bool button_X);