Пример #1
0
def do():
	# Clear all movement range markers
	marker.clearMoveMarkers()
	
	sceneControl.show('commandSelect')
	sceneControl.hide('battlefieldOverlay', 'basicInfo')
	sceneControl.suspend('battlefield') # Battlefield is still visible
Пример #2
0
def do(unit):
	# The unit that the info is about
	logic.globalDict['described'] = unit

	sceneControl.show('info')
	sceneControl.hide('battlefieldOverlay', 'basicInfo')
	sceneControl.suspend('battlefield')
Пример #3
0
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()
Пример #4
0
def selectCommand(command):
	logic.globalDict['cursor'] = command
	
	commandControl.determineRange(command)

	sceneControl.resume('battlefield')
	sceneControl.show('battlefieldOverlay', 'basicInfo')
	sceneControl.hide('commandSelect')
Пример #5
0
def secondary():
	sceneControl.hide(*BACKGROUND_SCENES)
Пример #6
0
def do():
	sceneControl.resume('battlefield')
	sceneControl.show('battlefieldOverlay', 'basicInfo')
	sceneControl.hide('info')