PETSetupFunctionsTrait

trait SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#17

Methods

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait::initGameStateValues()
Initialize game state values
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#25

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait::initStats()
Initialize game statistics
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#45

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait::initGameCards($playerCount)
Initialize the age cards in DB, taking into account the number of players around the table
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#70

Parameters
  • $playerCount (int)

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait::initPlayerHands()
Initialize the player hands
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#95

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETSetupFunctionsTrait::initGameTokens($playerCount)
Initialize the tokens in DB, taking into account the number of players around the table
Source

modules/php/Traits/Utility/PETSetupFunctionsTrait.php#132

Parameters
  • $playerCount (int)

Returns

void