PETAgeCardCost

class SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost
Represents a card's cost
Source

modules/php/Object/PETAgeCardCost.php#22

Summary

Methods

Properties

private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$numbers
Costs numerical values
Source

modules/php/Object/PETAgeCardCost.php#30

Type

int[]

private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$types
Costs knowledge types
Source

modules/php/Object/PETAgeCardCost.php#37

Type

string[]

private static property SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::$cardTypes
Costs card types
Source

modules/php/Object/PETAgeCardCost.php#44

Type

int[]

Methods

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::__construct()
Source

modules/php/Object/PETAgeCardCost.php#46

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setNumberO($number)
Sets the numerical value of the first cost
Source

modules/php/Object/PETAgeCardCost.php#60

Parameters
  • $number (int)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getNumber0()
Returns the numerical value of the first cost
Source

modules/php/Object/PETAgeCardCost.php#71

Returns

int

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setNumber1($number)
Sets the numerical value of the second cost
Source

modules/php/Object/PETAgeCardCost.php#83

Parameters
  • $number (int)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getNumber1()
Returns the numerical value of the second cost
Source

modules/php/Object/PETAgeCardCost.php#94

Returns

int

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setType0($type)
Sets the knowledge type of the first cost
Source

modules/php/Object/PETAgeCardCost.php#111

Parameters
  • $type (string)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getType0()
Returns the knowledge type of the first cost
Source

modules/php/Object/PETAgeCardCost.php#122

Returns

string

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setType1($type)
Sets the knowledge type of the second cost
Source

modules/php/Object/PETAgeCardCost.php#134

Parameters
  • $type (string)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getType1()
Return the second cost's knowledge type
Source

modules/php/Object/PETAgeCardCost.php#145

Returns

string

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setCardType0($cardType)
Sets the card type that covers the first cost
Source

modules/php/Object/PETAgeCardCost.php#162

Parameters
  • $cardType (int)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCardType0()
Returns the card type that covers the first cost
Source

modules/php/Object/PETAgeCardCost.php#173

Returns

int

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::setCardType1($cardType)
Sets the card type that covers the second cost
Source

modules/php/Object/PETAgeCardCost.php#190

Parameters
  • $cardType (int)

Returns

self

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCardType1()
Returns the card type that covers the second cost
Source

modules/php/Object/PETAgeCardCost.php#201

Returns

int

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCost0()
Returns the array corresponding to the first cost
Source

modules/php/Object/PETAgeCardCost.php#216

Returns

array

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCost1()
Returns the array corresponding to the second cost, if applicable, null otherwise
Source

modules/php/Object/PETAgeCardCost.php#232

Returns

array | null

public SwHawk\ProgressEvolutionOfTechnologySWH\Modules\Object\PETAgeCardCost::getCostsArray()
Returns the array of costs
Source

modules/php/Object/PETAgeCardCost.php#249

Returns

array