]> git.mmlx.us Git - IvanGame.git/commitdiff
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 68f9bd8426d2025acc1749b351260f94903dc854..5e39bafdad4855d0c05f69dc4e588b473beff2a5 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 c13fdd1e98483e081ee36993232f8e5b3140515b..6235697a85cce68ec180f7499ea677335caf53b5 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