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.
Dependents: RETRO_BallsAndPaddle RETRO_BallAndHoles
Diff: Ball.h
- Revision:
- 3:441dc90d10ce
- Parent:
- 2:74bc9b16fb88
- Child:
- 5:065f19e08dcb
diff -r 74bc9b16fb88 -r 441dc90d10ce Ball.h
--- a/Ball.h	Wed Feb 25 10:43:15 2015 +0000
+++ b/Ball.h	Thu Feb 26 11:46:46 2015 +0000
@@ -33,6 +33,7 @@
 
         Circle getBoundingCircle();
         bool collides(Rectangle r);
+        bool collides(Line ln);
         void Bounce(Vector vBounce);
         void BounceAgainst(Vector vBounce);