/********************************************************************
*
* File: fsCCollisionShape.h
*
* Purpose: Collision shape component
*
*********************************************************************/
#ifndef fsCCollisionShapehdr
#define fsCCollisionShapehdr
#include "Box2D/Collision/Shapes/b2Shape.h"
#include <fsCore/src/fsCUniqueId.h>
#include "../../fsICollisionShape.h"
namespace fsNCollision
{
class fsCCollisionShape : public fsICollisionShape
{
friend class fsCCollisionFixture;
friend class fsICollisionShape;
friend class fsCCollisionWorld;
public:
virtual ~fsCCollisionShape();<--- Destructor in derived class
protected:
fsCCollisionShape(fsISpriteComponent* pSprt);
fsCCollisionShape(eSHAPE pShape);
private:
eSHAPE mShape;
b2Shape* mImpl;
};
}
#endif