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
new \OpenLegends\Asset\Test\Type\Goblin() new \OpenLegends\Asset\Test\Type\Goblin()
); );
$this->setRarity(
new \OpenLegends\Asset\Test\Rarity\Common()
);
$this->setTitle( $this->setTitle(
_('Goblin') _('Goblin')
); );

4
src/Test/Card/Mouse.php

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

4
src/Test/Card/Rat.php

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

Loading…
Cancel
Save