def updateMapViewAdded(self):
    engine = self.engine
    mapView = self.mapView
    if ((engine.gameMode == 'play') and self.mapViewVisible):
        mapView.set_property('visible', True)
        mapView.engage()
    else:
        mapView.set_property('visible', False)
        mapView.disengage()
def updateMapViewAdded(self):
    engine = self.engine
    mapView = self.mapView
    if ((engine.gameMode == 'play') and self.mapViewVisible):
        mapView.set_property('visible', True)
        mapView.engage()
    else:
        mapView.set_property('visible', False)
        mapView.disengage()