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
Characters/Charmander.h
- Committer:
- yfkwok
- Date:
- 2019-04-18
- Revision:
- 14:abe64fe0b6a5
- Parent:
- 8:d707bb3b9106
- Child:
- 17:5d8ff39a0e49
File content as of revision 14:abe64fe0b6a5:
#ifndef CHARMANDER_H #define CHARMANDER_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Charmander { public: Charmander(); ~Charmander(); 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 evo_1_sprite(N5110 &lcd); void evo_2_sprite(N5110 &lcd); void evo_3_sprite(N5110 &lcd, int x, int y); void evo_1_cong(N5110 &lcd); void evo_2_cong(N5110 &lcd); void evo_3_cong(N5110 &lcd); void description(Gamepad &pad, N5110 &lcd); private: int _pos_x; int _pos_y; int _x; int _y; }; #endif