Alexandra Posta / Mbed OS ELEC2645_Race_Collision

Dependencies:   ELEC2645_JoystickLCD_LPC1768_2021

Committer:
alex_20
Date:
Thu Apr 22 16:33:42 2021 +0000
Revision:
7:559edc36f261
Parent:
6:40ef2030334c
Child:
8:1fc5e14b0db6
first ellipse;

Who changed what in which revision?

UserRevisionLine numberNew 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 7:559edc36f261 8
alex_20 7:559edc36f261 9 class Ball
alex_20 7:559edc36f261 10 {
alex_20 7:559edc36f261 11 public:
alex_20 7:559edc36f261 12
alex_20 7:559edc36f261 13 Ball();
alex_20 7:559edc36f261 14 void init();
alex_20 7:559edc36f261 15 std::vector<Vector2Df> set_path;
alex_20 7:559edc36f261 16 void draw(N5110 &lcd, Vector2Df path_points, int type);
alex_20 7:559edc36f261 17
alex_20 7:559edc36f261 18 private:
alex_20 7:559edc36f261 19
alex_20 7:559edc36f261 20 int _direction;
alex_20 7:559edc36f261 21 };
alex_20 7:559edc36f261 22 #endif