init abilities

This commit is contained in:
openlegends 2024-03-16 13:13:31 +02:00
parent 4e566634b4
commit c601def080
3 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
namespace OpenLegends\Asset\Test\Ability;
class Drain extends \OpenLegends\Engine\Abstract\Ability
{}

View File

@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
namespace OpenLegends\Asset\Test\Ability;
class Lethal extends \OpenLegends\Engine\Abstract\Ability
{}

View File

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