def setMapViewVisible(self, visible, tileX=(- 1), tileY=(- 1), sprite=micropolisengine.SPRITE_NOTUSED):
    engine = self.engine
    mapView = self.mapView
    if (visible and (tileX >= 0) and (tileY >= 0)):
        mapView.centerOnTile(tileX, tileY)
        mapView.sprite = sprite
    self.mapViewVisible = visible
    self.updateMapViewAdded()
def setMapViewVisible(self, visible, tileX=(- 1), tileY=(- 1), sprite=micropolisengine.SPRITE_NOTUSED):
    engine = self.engine
    mapView = self.mapView
    if (visible and (tileX >= 0) and (tileY >= 0)):
        mapView.centerOnTile(tileX, tileY)
        mapView.sprite = sprite
    self.mapViewVisible = visible
    self.updateMapViewAdded()