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/Ball.h@8:1fc5e14b0db6, 2021-04-24 (annotated)
- Committer:
- alex_20
- Date:
- Sat Apr 24 21:31:19 2021 +0000
- Revision:
- 8:1fc5e14b0db6
- Parent:
- 7:559edc36f261
- Child:
- 9:6f060f495536
Before game engine. ball done
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| alex_20 | 6:40ef2030334c | 1 | #ifndef BALL_H |
| alex_20 | 6:40ef2030334c | 2 | #define BALL_H |
| alex_20 | 6:40ef2030334c | 3 | |
| alex_20 | 6:40ef2030334c | 4 | #include "mbed.h" |
| alex_20 | 6:40ef2030334c | 5 | #include "Utils.h" |
| alex_20 | 6:40ef2030334c | 6 | #include "N5110.h" |
| alex_20 | 6:40ef2030334c | 7 | #include "Vector.h" |
| alex_20 | 8:1fc5e14b0db6 | 8 | #include "N5110.h" |
| alex_20 | 7:559edc36f261 | 9 | |
| alex_20 | 7:559edc36f261 | 10 | class Ball |
| alex_20 | 7:559edc36f261 | 11 | { |
| alex_20 | 7:559edc36f261 | 12 | public: |
| alex_20 | 7:559edc36f261 | 13 | |
| alex_20 | 7:559edc36f261 | 14 | Ball(); |
| alex_20 | 7:559edc36f261 | 15 | void init(); |
| alex_20 | 8:1fc5e14b0db6 | 16 | // std::vector<Vector2Df> get_path; |
| alex_20 | 8:1fc5e14b0db6 | 17 | void draw(N5110 &lcd, std::vector<Vector2Df> path_points, int radius, float iterator); |
| alex_20 | 7:559edc36f261 | 18 | |
| alex_20 | 7:559edc36f261 | 19 | }; |
| alex_20 | 7:559edc36f261 | 20 | #endif |