From 13f9a95017a8e47180c13434735b544236b51ef7 Mon Sep 17 00:00:00 2001 From: openlegends Date: Sat, 16 Mar 2024 01:27:46 +0200 Subject: [PATCH] update attribute / type methods api --- src/Test/Card/Goblin.php | 4 ++-- src/Test/Card/Mouse.php | 4 ++-- src/Test/Card/Rat.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Test/Card/Goblin.php b/src/Test/Card/Goblin.php index e7ac28e..21f0efb 100644 --- a/src/Test/Card/Goblin.php +++ b/src/Test/Card/Goblin.php @@ -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( diff --git a/src/Test/Card/Mouse.php b/src/Test/Card/Mouse.php index d61c1e2..baf5746 100644 --- a/src/Test/Card/Mouse.php +++ b/src/Test/Card/Mouse.php @@ -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( diff --git a/src/Test/Card/Rat.php b/src/Test/Card/Rat.php index 761bc97..40c4a71 100644 --- a/src/Test/Card/Rat.php +++ b/src/Test/Card/Rat.php @@ -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(