update method names

This commit is contained in:
openlegends 2024-03-16 15:21:24 +02:00
parent 2732e2671a
commit a0b8d73d19
3 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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