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@1:2ae7a8b01771, 2021-03-17 (annotated)
- Committer:
- alex_20
- Date:
- Wed Mar 17 17:32:56 2021 +0000
- Revision:
- 1:2ae7a8b01771
- Child:
- 2:18fd28044860
Iteration 1. Curve done
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
alex_20 | 1:2ae7a8b01771 | 1 | #ifndef ROAD_H |
alex_20 | 1:2ae7a8b01771 | 2 | #define ROAD_H |
alex_20 | 1:2ae7a8b01771 | 3 | |
alex_20 | 1:2ae7a8b01771 | 4 | #include "mbed.h" |
alex_20 | 1:2ae7a8b01771 | 5 | /*#include "N5110.h" |
alex_20 | 1:2ae7a8b01771 | 6 | #include "GameEngine.h" |
alex_20 | 1:2ae7a8b01771 | 7 | #include "Utils.h" |
alex_20 | 1:2ae7a8b01771 | 8 | |
alex_20 | 1:2ae7a8b01771 | 9 | class Road |
alex_20 | 1:2ae7a8b01771 | 10 | { |
alex_20 | 1:2ae7a8b01771 | 11 | public: |
alex_20 | 1:2ae7a8b01771 | 12 | |
alex_20 | 1:2ae7a8b01771 | 13 | Road(); |
alex_20 | 1:2ae7a8b01771 | 14 | void draw(N5110 &lcd); |
alex_20 | 1:2ae7a8b01771 | 15 | int set_inclination(int); |
alex_20 | 1:2ae7a8b01771 | 16 | bool set_warning(); |
alex_20 | 1:2ae7a8b01771 | 17 | Position2D set_warm_position(int); |
alex_20 | 1:2ae7a8b01771 | 18 | int set_direction(int); |
alex_20 | 1:2ae7a8b01771 | 19 | |
alex_20 | 1:2ae7a8b01771 | 20 | private: |
alex_20 | 1:2ae7a8b01771 | 21 | |
alex_20 | 1:2ae7a8b01771 | 22 | int _inclination; |
alex_20 | 1:2ae7a8b01771 | 23 | bool _warn; |
alex_20 | 1:2ae7a8b01771 | 24 | int _warn_position; |
alex_20 | 1:2ae7a8b01771 | 25 | int _direction; |
alex_20 | 1:2ae7a8b01771 | 26 | |
alex_20 | 1:2ae7a8b01771 | 27 | }; |
alex_20 | 1:2ae7a8b01771 | 28 | #endif */ |