Elements used in the Balls and Things games for the RETRO.

Dependents:   RETRO_BallsAndPaddle RETRO_BallAndHoles

Revision:
2:74bc9b16fb88
Parent:
0:3d0db4e183ee
--- a/Vector.h	Fri Feb 06 10:18:02 2015 +0000
+++ b/Vector.h	Wed Feb 25 10:43:15 2015 +0000
@@ -9,7 +9,7 @@
         
         Vector();
         Vector(float fX, float fY);
-        void set(float dX, float fY);
+        void set(float fX, float fY);
         void set(int nX, int nY);
         float getSize();
         bool isLeft();
@@ -19,4 +19,7 @@
         void add(float fAdd);
         void add(Vector vAdd);
         void multiply(Vector vMult);
+        Vector getNormal();
+        Vector getNormalized();
+        void bounce(Vector vBounce);
 };