Browse Source

update attribute / type methods api

main
openlegends 9 months ago
parent
commit
13f9a95017
  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

@ -9,11 +9,11 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -9,11 +9,11 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
public function __construct()
{
$this->addAttribute(
_('Neutral')
new \OpenLegends\Asset\Test\Attribute\Neutral()
);
$this->setType(
_('Unknown')
new \OpenLegends\Asset\Test\Type\Goblin()
);
$this->setTitle(

4
src/Test/Card/Mouse.php

@ -9,11 +9,11 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card @@ -9,11 +9,11 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
public function __construct()
{
$this->addAttribute(
_('Neutral')
new \OpenLegends\Asset\Test\Attribute\Neutral()
);
$this->setType(
_('Animal')
new \OpenLegends\Asset\Test\Type\Animal()
);
$this->setTitle(

4
src/Test/Card/Rat.php

@ -9,11 +9,11 @@ class Rat extends \OpenLegends\Engine\Abstract\Card @@ -9,11 +9,11 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
public function __construct()
{
$this->addAttribute(
_('Neutral')
new \OpenLegends\Asset\Test\Attribute\Neutral()
);
$this->setType(
_('Animal')
new \OpenLegends\Asset\Test\Type\Animal()
);
$this->setTitle(

Loading…
Cancel
Save