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
Board Class Reference
#include <Board.h>
Public Member Functions | |
| void | init (int x, int y, int length, int width) |
| initial the first data of board | |
| void | draw (N5110 &lcd) |
| use screeen function to draw a board | |
| void | update (Direction d, float mag) |
| update borad to position to realise the effect of speed | |
| void | add_score () |
| score generation function | |
| int | get_score () |
| score reading function | |
| Vector2D | get_pos () |
| position reading function | |
Detailed Description
Board Class.
- Date:
- May 2020
Definition at line 13 of file Board.h.
Member Function Documentation
| void draw | ( | N5110 & | lcd ) |
| void init | ( | int | x, |
| int | y, | ||
| int | length, | ||
| int | width | ||
| ) |
Generated on Wed Jul 13 2022 04:23:58 by
1.7.2