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
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