make getRect a proper public member of world
Change copyright year
Reorder code. Make getCollisionType private