Class: SpyRequestButton

DiplomacyDialogPlayerControl#SpyRequestButton()

This class is concerned with providing the spy request button that once pressed will attempt to bribe a unit of the selected enemy for temporary vision sharing against resources.

Constructor

new SpyRequestButton()

Source:

Members

Sprite

Source:

SpriteModifierDisabled

Source:

TemplateName

Source:

Tooltip

Source:

TooltipFailed

Source:

diplomacySpyRequest

Source:

diplomacySpyRequestImage

Source:

playerID

Source:

spyRequests

Source:

Methods

onPress()

Source:

onSpyResponse(player)

Called from GUIInterface notification.
Parameters:
Name Type Description
player is the one who requested a spy.
notification.target is the player who shall be spied upon.
Source:

update()

Source: