def do(): # Clear all movement range markers marker.clearMoveMarkers() sceneControl.show('commandSelect') sceneControl.hide('battlefieldOverlay', 'basicInfo') sceneControl.suspend('battlefield') # Battlefield is still visible
def do(unit): # The unit that the info is about logic.globalDict['described'] = unit sceneControl.show('info') sceneControl.hide('battlefieldOverlay', 'basicInfo') sceneControl.suspend('battlefield')
def do(): sceneControl.resume("battlefield") sceneControl.show("battlefieldOverlay", "basicInfo") sceneControl.hide("commandSelect") # When exiting without selecting an action # selected unit must be selected again reselectActor()
def selectCommand(command): logic.globalDict['cursor'] = command commandControl.determineRange(command) sceneControl.resume('battlefield') sceneControl.show('battlefieldOverlay', 'basicInfo') sceneControl.hide('commandSelect')
def secondary(): sceneControl.hide(*BACKGROUND_SCENES)
def do(): sceneControl.resume('battlefield') sceneControl.show('battlefieldOverlay', 'basicInfo') sceneControl.hide('info')