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
Coin Class Reference
#include <Coin.h>
Public Member Functions | |
void | init (int x, int y) |
Init. | |
int | get_x_coin () |
Get x. | |
int | get_y_coin () |
Get y. | |
int | get_coins () |
Get coins. | |
void | drawSprite (N5110 &lcd) |
Draw coin. | |
bool | collidePlayer (int x, int y, Gamepad &pad) |
Coin collision. | |
void | spawn (int x, int y, N5110 &lcd, Gamepad &pad) |
Coin collision. |
Detailed Description
Coin class.
Class of the collectable coin
- Version:
- 1.0
- Date:
- 09/05/19
Definition at line 26 of file Coin.h.
Member Function Documentation
bool collidePlayer | ( | int | x, |
int | y, | ||
Gamepad & | pad | ||
) |
void drawSprite | ( | N5110 & | lcd ) |
int get_coins | ( | ) |
int get_x_coin | ( | ) |
int get_y_coin | ( | ) |
void init | ( | int | x, |
int | y | ||
) |
Generated on Wed Jul 13 2022 21:10:10 by
