Commit | Line | Data |
---|---|---|
1 | #include "Polygon.h" | |
2 | #include "../Vector2.h" | |
3 | ||
4 | /// ***** Public Class Methods ***** | |
5 | Polygon::Polygon(const Vector2& pos, vector<Vector2> points) | |
6 | : PhysicsEntity(pos), points(points) | |
7 | { | |
8 | CreateBindingBox(); | |
9 | } | |
10 | Polygon::~Polygon() | |
11 | { | |
12 | ||
13 | } | |
14 | ||
15 | void Polygon::draw() const | |
16 | { | |
17 | // TODO | |
18 | } | |
19 | ||
20 | /// ***** Private Class Methods ***** | |
21 | void Polygon::CreateBindingBox() | |
22 | { | |
23 | // TODO | |
24 | } |