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.
Diff: DodgeEngine/DodgeEngine.h
- Revision:
- 6:98ddf5eade49
- Parent:
- 3:aa82968b7a8e
- Child:
- 7:67c00839f188
--- a/DodgeEngine/DodgeEngine.h Thu Apr 25 17:24:49 2019 +0000
+++ b/DodgeEngine/DodgeEngine.h Thu Apr 25 17:46:13 2019 +0000
@@ -21,9 +21,13 @@
public:
DodgeEngine();
~DodgeEngine();
-
+
+ /// This method will be used to set the global variables to local variable
+ /// @param player_width, player_height, objects_size, speed, lives, kit_size
void init(int player_width,int player_height,int objetcs_size,int speed,int lives, int kit_size);
+ /// This method will be used to execute methods from Gamepad and store the returned variables
void read_input(Gamepad &pad);
+
void update(Gamepad &pad);
void draw(N5110 &lcd);
void time(float time);