mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
update attribute / type methods api
This commit is contained in:
parent
ac468ca3f6
commit
13f9a95017
@ -9,11 +9,11 @@ class Goblin extends \OpenLegends\Engine\Abstract\Card
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->addAttribute(
|
$this->addAttribute(
|
||||||
_('Neutral')
|
new \OpenLegends\Asset\Test\Attribute\Neutral()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setType(
|
$this->setType(
|
||||||
_('Unknown')
|
new \OpenLegends\Asset\Test\Type\Goblin()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
|
@ -9,11 +9,11 @@ class Mouse extends \OpenLegends\Engine\Abstract\Card
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->addAttribute(
|
$this->addAttribute(
|
||||||
_('Neutral')
|
new \OpenLegends\Asset\Test\Attribute\Neutral()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setType(
|
$this->setType(
|
||||||
_('Animal')
|
new \OpenLegends\Asset\Test\Type\Animal()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
|
@ -9,11 +9,11 @@ class Rat extends \OpenLegends\Engine\Abstract\Card
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->addAttribute(
|
$this->addAttribute(
|
||||||
_('Neutral')
|
new \OpenLegends\Asset\Test\Attribute\Neutral()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setType(
|
$this->setType(
|
||||||
_('Animal')
|
new \OpenLegends\Asset\Test\Type\Animal()
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->setTitle(
|
$this->setTitle(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user