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: ELEC2645_JoystickLCD_LPC1768_2021
lib/Road.h
- Committer:
- alex_20
- Date:
- 2021-03-18
- Revision:
- 2:18fd28044860
- Parent:
- 1:2ae7a8b01771
- Child:
- 3:cbe2dcca5058
File content as of revision 2:18fd28044860:
#ifndef ROAD_H #define ROAD_H #include "mbed.h" #include "N5110.h" #include "GameEngine.h" class Road { public: Road(); void init(); void draw(N5110 &lcd, int i); void set_inclination(int inclination); void set_direction(int direction); private: int _inclination; int _direction; void _draw_warn(N5110 &lcd, int warn_position); }; #endif