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:
- 2:74bc9b16fb88
- Parent:
- 0:3d0db4e183ee
- Child:
- 3:441dc90d10ce
diff -r 71185a0aadfc -r 74bc9b16fb88 Ball.h
--- a/Ball.h	Fri Feb 06 10:18:02 2015 +0000
+++ b/Ball.h	Wed Feb 25 10:43:15 2015 +0000
@@ -34,6 +34,7 @@
         Circle getBoundingCircle();
         bool collides(Rectangle r);
         void Bounce(Vector vBounce);
+        void BounceAgainst(Vector vBounce);
 
     private:
         uint16_t uColor;