Added getHitboxes() function to BaseSegment (and override at Door) to return an array of all hitboxes to test for collision. I guess this makes for an inefficient collision detection but works nicely for the door.