Constructor
new SpyRequestButton()
Methods
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. |