PETAgeCardCost
- class SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost
- Represents a card's cost
Summary
Methods
Properties
- private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$numbers
- Costs numerical values
- Source
- Type
int[]
- private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$types
- Costs knowledge types
- Source
- Type
string[]
- private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$cardTypes
- Costs card types
- Source
- Type
int[]
Methods
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::__construct()
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setNumberO($number)
- Sets the numerical value of the first cost
- Source
- Parameters
$number (int)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getNumber0()
- Returns the numerical value of the first cost
- Source
- Returns
int
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setNumber1($number)
- Sets the numerical value of the second cost
- Source
- Parameters
$number (int)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getNumber1()
- Returns the numerical value of the second cost
- Source
- Returns
int
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setType0($type)
- Sets the knowledge type of the first cost
- Source
- Parameters
$type (string)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getType0()
- Returns the knowledge type of the first cost
- Source
- Returns
string
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setType1($type)
- Sets the knowledge type of the second cost
- Source
- Parameters
$type (string)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getType1()
- Return the second cost's knowledge type
- Source
- Returns
string
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setCardType0($cardType)
- Sets the card type that covers the first cost
- Source
- Parameters
$cardType (int)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCardType0()
- Returns the card type that covers the first cost
- Source
- Returns
int
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setCardType1($cardType)
- Sets the card type that covers the second cost
- Source
- Parameters
$cardType (int)
- Returns
self
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCardType1()
- Returns the card type that covers the second cost
- Source
- Returns
int
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCost0()
- Returns the array corresponding to the first cost
- Source
- Returns
array
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCost1()
- Returns the array corresponding to the second cost, if applicable, null otherwise
- Source
- Returns
array | null
- public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCostsArray()
- Returns the array of costs
- Source
- Returns
array