PETResearchPhaseActions

class modules.js.Action.PETResearchPhaseActions()
modules.js.Action.PETResearchPhaseActions.PETResearchPhaseActions

constructor

modules.js.Action.PETResearchPhaseActions.researchActionCancel(evt)

Callback to cancel the research action

Arguments
  • evt – event sent by the button click

modules.js.Action.PETResearchPhaseActions.researchActionResearchCard(evt)

callback for selecting the card going to be researched

First check if action is possible, then get selected cards, and send it to backend (only one id sent)

Arguments
  • evt – event sent by the button click