4 #include "PhysicsEntity.h"
5 #include "../Vector2.h"
10 /// ***** Header Class *****
11 class Polygon: public PhysicsEntity
14 Polygon(Vector2, vector<Vector2>);
17 virtual void draw() const;
20 Vector2 maxP; // stores the max bounding box point
21 Vector2 minP; // stores the min bounding box point
23 vector<Vector2> points;
27 void CreateBindingBox();