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
Diff: Characters/Squirtle.h
- Revision:
- 2:464c7e62d97d
- Child:
- 4:5bc9c4363d31
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Characters/Squirtle.h Wed Apr 03 03:06:00 2019 +0000 @@ -0,0 +1,30 @@ +#ifndef SQUIRTLE_H +#define SQUIRTLE_H + +#include "mbed.h" +#include "N5110.h" +#include "Gamepad.h" + +class Squirtle +{ + +public: + Squirtle(); + ~Squirtle(); + + void draw_cha1_sprite(int pos_x,int pos_y,N5110 &lcd); + void draw_cha2_sprite(int pos_x,int pos_y,N5110 &lcd); + void draw_cha3_sprite(int pos_x,int pos_y,N5110 &lcd); + void draw_cha1_alt_sprite(int pos_x,int pos_y,N5110 &lcd); + void draw_cha2_alt_sprite(int pos_x,int pos_y,N5110 &lcd); + void draw_cha3_alt_sprite(int pos_x,int pos_y,N5110 &lcd); + void description(Gamepad &pad, N5110 &lcd); + +private: + + int _pos_x; + int _pos_y; + +}; + +#endif \ No newline at end of file