update attribute / type methods api

This commit is contained in:
openlegends 2024-03-16 01:27:46 +02:00
parent ac468ca3f6
commit 13f9a95017
3 changed files with 6 additions and 6 deletions

View File

@ -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(

View File

@ -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(

View File

@ -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(