Browse Source

add rarity setters

main
openlegends 9 months ago
parent
commit
4e566634b4
  1. 4
      src/Test/Card/Goblin.php
  2. 4
      src/Test/Card/Mouse.php
  3. 4
      src/Test/Card/Rat.php

4
src/Test/Card/Goblin.php

@ -16,6 +16,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -16,6 +16,10 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
new \OpenLegends\Asset\Test\Type\Goblin()
);
$this->setRarity(
new \OpenLegends\Asset\Test\Rarity\Common()
);
$this->setTitle(
_('Goblin')
);

4
src/Test/Card/Mouse.php

@ -16,6 +16,10 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card @@ -16,6 +16,10 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
new \OpenLegends\Asset\Test\Type\Animal()
);
$this->setRarity(
new \OpenLegends\Asset\Test\Rarity\Common()
);
$this->setTitle(
_('Mouse')
);

4
src/Test/Card/Rat.php

@ -16,6 +16,10 @@ class Rat extends \OpenLegends\Engine\Abstract\Card @@ -16,6 +16,10 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
new \OpenLegends\Asset\Test\Type\Animal()
);
$this->setRarity(
new \OpenLegends\Asset\Test\Rarity\Common()
);
$this->setTitle(
_('Rat')
);

Loading…
Cancel
Save