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
Baby Class Reference
#include <Baby.h>
Public Member Functions | |
void | init (int x, int y) |
Init. | |
int | get_x_char () |
Get x. | |
int | get_y_char () |
Get y. | |
void | drawSprite (N5110 &lcd) |
Draw baby. | |
void | movement (Direction dir, N5110 &lcd) |
Moves baby. | |
bool | northCollision (int x, int y, N5110 &lcd) |
North collsision. | |
bool | southCollision (int x, int y, N5110 &lcd) |
South collsision. | |
bool | eastCollision (int x, int y, N5110 &lcd) |
East collsision. | |
bool | westCollision (int x, int y, N5110 &lcd) |
West collsision. |
Detailed Description
Baby class.
Class of the controllable player
- Version:
- 1.0
- Date:
- 09/05/19
Definition at line 31 of file Baby.h.
Member Function Documentation
void drawSprite | ( | N5110 & | lcd ) |
bool eastCollision | ( | int | x, |
int | y, | ||
N5110 & | lcd | ||
) |
int get_x_char | ( | ) |
int get_y_char | ( | ) |
void init | ( | int | x, |
int | y | ||
) |
void movement | ( | Direction | dir, |
N5110 & | lcd | ||
) |
bool northCollision | ( | int | x, |
int | y, | ||
N5110 & | lcd | ||
) |
bool southCollision | ( | int | x, |
int | y, | ||
N5110 & | lcd | ||
) |
Generated on Wed Jul 13 2022 21:10:10 by
