PETScoreFunctionsTrait

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

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

Methods

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETScoreFunctionsTrait::addToPlayerScore($scoreIncrement, $playerId)
Adds (or subtract if $scoreIncrement is negative) a specific amount to the player score, leaving a minimum of 0
Source

modules/php/Traits/Utility/PETScoreFunctionsTrait.php#27

Parameters
  • $scoreIncrement (int)

  • $playerId (int)

Returns

void

private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETScoreFunctionsTrait::addToPlayerAuxScore($scoreIncrement, $playerId)
Source

modules/php/Traits/Utility/PETScoreFunctionsTrait.php#48