dannyko / gpdk

GAMEPREZ Developer Kit
Other
17 stars 4 forks source link

add rectangle element #3

Closed dannyko closed 11 years ago

dannyko commented 11 years ago

Rectangle class with collision/reaction cases

e.g. use code from Udacity quiz solution showing Rect collision detection - low priority update (use Polygon for now)

dannyko commented 11 years ago

created a use_bb switch in collision instead of a separate rectangle class to allow any element e.g. circles or polygons to be treated as rectangles