PETScoreFunctionsTrait
- trait SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETScoreFunctionsTrait
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
- Parameters
$scoreIncrement (int)
$playerId (int)
- Returns
void
- private SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Traits\Utility\PETScoreFunctionsTrait::addToPlayerAuxScore($scoreIncrement, $playerId)