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 FXOS8700CQ mbed-rtos
Diff: Start/Start.h
- Revision:
- 2:464c7e62d97d
- Child:
- 5:bc0691d02fd5
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Start/Start.h Wed Apr 03 03:06:00 2019 +0000
@@ -0,0 +1,43 @@
+#ifndef START_H
+#define START_H
+
+#include "N5110.h"
+#include "Gamepad.h"
+#include "Charmander.h"
+#include "Squirtle.h"
+#include "Bulbasaur.h"
+
+class Start
+{
+
+public:
+ Start();
+ ~Start();
+
+ void init();
+ void starter_update(Gamepad &pad);
+ void starter_draw(N5110 &lcd);
+ Vector2D update_select(Gamepad &pad);
+ int update_animation_b(Gamepad &pad);
+ int update_animation_c(Gamepad &pad);
+ int update_animation_s(Gamepad &pad);
+ int update_alt();
+ void set_pos(Vector2D p);
+ void set_pos_csb(int pos_cy, int pos_sy, int pos_by);
+ void set_alt(int alt);
+ int get_select(Vector2D p);
+ void intro(int select,Gamepad &pad, N5110 &lcd);
+
+private:
+ Charmander _c1;
+ Squirtle _s1;
+ Bulbasaur _b1;
+ int _pos_x;
+ int _pos_y;
+ int _pos_cy;
+ int _pos_sy;
+ int _pos_by;
+ int _alt;
+};
+
+#endif
\ No newline at end of file