change the structure of arena to make it more clear. Combine movingObjects and staticobjects into objects. Add new functions addEvent(), processEvent() to arena. delete the id_ member of Object