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
Apple Class Reference
#include <Apple.h>
Public Member Functions | |
| void | init (int size) |
| The Initial setup of the of the apple | |
| void | draw (N5110 &lcd) |
| Draws the Apple on the LCD | |
| Vector2D | get_pos () |
| void | set_pos (Vector2D a) |
| Sets the Position | |
Detailed Description
Apple Class File.
Class containing the apple that the snake uses to get score and increase in size.
- Date:
- June 2020
Definition at line 14 of file Apple.h.
Member Function Documentation
| void init | ( | int | size ) |
| void set_pos | ( | Vector2D | a ) |
Sets the Position
Generated on Sat Jul 16 2022 21:38:04 by
1.7.2