PETTokenFactory
- class SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Factory\PETTokenFactory
- Factory class to create token types, serves as bais for the Deck component
Summary
Methods
Methods
- public static SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Factory\PETTokenFactory::createToken($deckType, $name, $numberOfTokensByPlayerCounter, $knowledgeType=null)
- Creates and return a token type object
- Source
- Parameters
$deckType (int) type of the token (1002 - 1005: Age tokens, 1100 - 1103: Knowledge tokens
$name (string)
$numberOfTokensByPlayerCounter (array)
$knowledgeType (int | null)
- Returns
\SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETToken