added empty definition of collision between circle and rectangle
authorunknown <Ivan Lloyd@.(none)>
Sun, 30 Jan 2011 22:04:33 +0000 (16:04 -0600)
committerunknown <Ivan Lloyd@.(none)>
Sun, 30 Jan 2011 22:04:33 +0000 (16:04 -0600)
Collision.cpp
Collision.h

index 68f9bd8..5e39baf 100644 (file)
@@ -216,3 +216,6 @@ bool CollisionCircle::collision(const Collision *c, const Point2D cPos, const Po
        return false;
 }
 
+bool CollisionCircle::collision(const CollisionRectangle* c, const Point2D cPos, const Point2D pos){
+
+}
\ No newline at end of file
index c13fdd1..6235697 100644 (file)
@@ -99,7 +99,7 @@ public:
                \param pos the current sprite's position.
                \return Returns true if any of the object's collision datas are colliding  .
        */
-       bool collision(const CollisionRectangle* c, const Point2D cPos, const Point2D pos);/**< This does collision between Rectangles and Circles */
+       bool collision(const CollisionRectangle* c, const Point2D cPos, const Point2D pos);
        virtual void draw(const Point2D& pos);/**< Draws the collision data to the screen */
 };
 #endif