Resilience assessment for the built environment of a virtual city