diff --git a/src/Test/Card/Ability/Attack.php b/src/Test/Card/Ability/Attack.php index 8c0ac1e..b217d46 100644 --- a/src/Test/Card/Ability/Attack.php +++ b/src/Test/Card/Ability/Attack.php @@ -43,4 +43,7 @@ class Attack extends \OpenLegends\Engine\Abstract\Card\Ability // @TODO remove abilities } + + public function apply() + {} } \ No newline at end of file diff --git a/src/Test/Card/Ability/Drain.php b/src/Test/Card/Ability/Drain.php index 88ff1b7..02295ac 100644 --- a/src/Test/Card/Ability/Drain.php +++ b/src/Test/Card/Ability/Drain.php @@ -5,4 +5,7 @@ declare(strict_types=1); namespace OpenLegends\Asset\Test\Card\Ability; class Drain extends \OpenLegends\Engine\Abstract\Card\Ability -{} \ No newline at end of file +{ + public function apply(): void + {} +} \ No newline at end of file diff --git a/src/Test/Card/Ability/Guard.php b/src/Test/Card/Ability/Guard.php index eb10f90..84dcd55 100644 --- a/src/Test/Card/Ability/Guard.php +++ b/src/Test/Card/Ability/Guard.php @@ -5,4 +5,7 @@ declare(strict_types=1); namespace OpenLegends\Asset\Test\Card\Ability; class Guard extends \OpenLegends\Engine\Abstract\Card\Ability -{} \ No newline at end of file +{ + public function apply(): void + {} +} \ No newline at end of file diff --git a/src/Test/Card/Ability/Lethal.php b/src/Test/Card/Ability/Lethal.php index 89abffd..9ed3f69 100644 --- a/src/Test/Card/Ability/Lethal.php +++ b/src/Test/Card/Ability/Lethal.php @@ -5,4 +5,7 @@ declare(strict_types=1); namespace OpenLegends\Asset\Test\Card\Ability; class Lethal extends \OpenLegends\Engine\Abstract\Card\Ability -{} \ No newline at end of file +{ + public function apply(): void + {} +} \ No newline at end of file diff --git a/src/Test/Card/Ability/Multiple.php b/src/Test/Card/Ability/Multiple.php index 1a6174e..42a7959 100644 --- a/src/Test/Card/Ability/Multiple.php +++ b/src/Test/Card/Ability/Multiple.php @@ -14,4 +14,12 @@ class Multiple extends \OpenLegends\Engine\Abstract\Card\Ability { $this->_abilities[] = $ability; } + + public function apply(): void + { + foreach ($this->_abilities as $ability) + { + $ability->apply(); + } + } } \ No newline at end of file