4 #include "PhysicsEntity.h"
5 #include "../Vector2.h"
11 /// ***** Header Class *****
13 class Polygon: public PhysicsEntity
16 Polygon(const Vector2&, vector<Vector2>);
19 virtual void draw() const;
22 Vector2 maxP; // stores the max bounding box point
23 Vector2 minP; // stores the min bounding box point
25 vector<Vector2> points;
29 void createBindingBox();