Browse Source

update method names

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

4
src/Test/Card/Goblin.php

@ -8,7 +8,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -8,7 +8,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
{
public function __construct()
{
$this->addAbility(
$this->setAbility(
new \OpenLegends\Asset\Test\Ability\Lethal()
);
@ -16,7 +16,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card @@ -16,7 +16,7 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
new \OpenLegends\Asset\Test\Ability\Guard()
);
$this->addAttribute(
$this->setAttribute(
new \OpenLegends\Asset\Test\Attribute\Neutral()
);

2
src/Test/Card/Mouse.php

@ -8,7 +8,7 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card @@ -8,7 +8,7 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
{
public function __construct()
{
$this->addAttribute(
$this->setAttribute(
new \OpenLegends\Asset\Test\Attribute\Neutral()
);

2
src/Test/Card/Rat.php

@ -8,7 +8,7 @@ class Rat extends \OpenLegends\Engine\Abstract\Card @@ -8,7 +8,7 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
{
public function __construct()
{
$this->addAttribute(
$this->setAttribute(
new \OpenLegends\Asset\Test\Attribute\Neutral()
);

Loading…
Cancel
Save