Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.

Dependencies:   mbed FXOS8700CQ mbed-rtos

Committer:
yfkwok
Date:
Wed Apr 03 03:06:00 2019 +0000
Revision:
2:464c7e62d97d
Child:
4:5bc9c4363d31
Date 3/4/2019 - Mini game one beta complete

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yfkwok 2:464c7e62d97d 1 #ifndef SQUIRTLE_H
yfkwok 2:464c7e62d97d 2 #define SQUIRTLE_H
yfkwok 2:464c7e62d97d 3
yfkwok 2:464c7e62d97d 4 #include "mbed.h"
yfkwok 2:464c7e62d97d 5 #include "N5110.h"
yfkwok 2:464c7e62d97d 6 #include "Gamepad.h"
yfkwok 2:464c7e62d97d 7
yfkwok 2:464c7e62d97d 8 class Squirtle
yfkwok 2:464c7e62d97d 9 {
yfkwok 2:464c7e62d97d 10
yfkwok 2:464c7e62d97d 11 public:
yfkwok 2:464c7e62d97d 12 Squirtle();
yfkwok 2:464c7e62d97d 13 ~Squirtle();
yfkwok 2:464c7e62d97d 14
yfkwok 2:464c7e62d97d 15 void draw_cha1_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 16 void draw_cha2_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 17 void draw_cha3_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 18 void draw_cha1_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 19 void draw_cha2_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 20 void draw_cha3_alt_sprite(int pos_x,int pos_y,N5110 &lcd);
yfkwok 2:464c7e62d97d 21 void description(Gamepad &pad, N5110 &lcd);
yfkwok 2:464c7e62d97d 22
yfkwok 2:464c7e62d97d 23 private:
yfkwok 2:464c7e62d97d 24
yfkwok 2:464c7e62d97d 25 int _pos_x;
yfkwok 2:464c7e62d97d 26 int _pos_y;
yfkwok 2:464c7e62d97d 27
yfkwok 2:464c7e62d97d 28 };
yfkwok 2:464c7e62d97d 29
yfkwok 2:464c7e62d97d 30 #endif