PETResearchActionPhaseActionFunctionsTrait

trait SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Actions\PETResearchActionPhaseActionFunctionsTrait
Source

modules/php/Traits/Actions/PETResearchActionPhaseActionFunctionsTrait.php#20

Used traits

SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETActionFunctionsTrait

Methods

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Actions\PETResearchActionPhaseActionFunctionsTrait::researchActionResearchCard($cardId)
Method responsible for the game logic of a player researching a technology card
Source

modules/php/Traits/Actions/PETResearchActionPhaseActionFunctionsTrait.php#30

Parameters
  • $cardId (int) the id of the card being researched

Returns

void

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Actions\PETResearchActionPhaseActionFunctionsTrait::researchActionCancel()
Cancels the research action
Source

modules/php/Traits/Actions/PETResearchActionPhaseActionFunctionsTrait.php#97

Returns

void