PETPowerFunctionsTrait

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

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

Methods

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETPowerFunctionsTrait::incrementPowerLevel($power, $playerId)
Adds one level to the power level.
Source

modules/php/Traits/Utility/PETPowerFunctionsTrait.php#28

Parameters
  • $power (string)

  • $playerId (int)

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETPowerFunctionsTrait::getPowerRanks($rawResult=false)
Return an array with the ranks of each player on the power tracks
Source

modules/php/Traits/Utility/PETPowerFunctionsTrait.php#43

Parameters
  • $rawResult (bool)

Returns

array