Object/World collision, Map class