
#pragma once
#include "ofMain.h"
#include "Box2D.h"

/*

 ***    THIS NEEDS WORK!    ***    

*/

class ofxBox2dContactListener : public b2ContactListener {
	
public:
	virtual void Add(const b2ContactPoint* point) {
		/*
		// point of collision
		b2Vec2 p = point->position;
		p *= OFX_BOX2D_SCALE;
		
		//
		b2Shape* shape1 = point->shape1;		///< the first shape
		b2Shape* shape2 = point->shape2;		///< the second shape
		
		contactAdd(ofPoint(p.x, p.y));
		
		//b2Body * body_1 = point->shape1->GetBody();
		//MonsterData * theData = (MonsterData*)body_1->GetUserData();
		*/
	}
	virtual void Remove(const b2ContactPoint* point) {
	}
	
	ofxBox2dContactListener() {
	}
	
	
	
	virtual void contactAdd(ofPoint p) {
	}
	virtual void contactRemove(ofPoint p) {
	}
};



