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:
Thu Apr 11 16:17:38 2019 +0000
Revision:
9:1395c98b58fc
Parent:
4:5bc9c4363d31
Child:
17:5d8ff39a0e49
11/4/2019 - bug fix (2)

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 4:5bc9c4363d31 21 void evo_1_sprite(N5110 &lcd);
yfkwok 4:5bc9c4363d31 22 void evo_2_sprite(N5110 &lcd);
yfkwok 9:1395c98b58fc 23 void evo_3_sprite(N5110 &lcd, int x, int y);
yfkwok 4:5bc9c4363d31 24 void evo_1_cong(N5110 &lcd);
yfkwok 4:5bc9c4363d31 25 void evo_2_cong(N5110 &lcd);
yfkwok 4:5bc9c4363d31 26 void evo_3_cong(N5110 &lcd);
yfkwok 2:464c7e62d97d 27 void description(Gamepad &pad, N5110 &lcd);
yfkwok 2:464c7e62d97d 28
yfkwok 2:464c7e62d97d 29 private:
yfkwok 2:464c7e62d97d 30
yfkwok 2:464c7e62d97d 31 int _pos_x;
yfkwok 2:464c7e62d97d 32 int _pos_y;
yfkwok 9:1395c98b58fc 33 int _x;
yfkwok 9:1395c98b58fc 34 int _y;
yfkwok 2:464c7e62d97d 35
yfkwok 2:464c7e62d97d 36 };
yfkwok 2:464c7e62d97d 37
yfkwok 2:464c7e62d97d 38 #endif