mirror of
https://github.com/openlegends/asset-php.git
synced 2025-02-08 13:04:22 +00:00
draft player asset
This commit is contained in:
parent
4a3364aaa8
commit
932638c4ca
27
src/Test/Player/Elf.php
Normal file
27
src/Test/Player/Elf.php
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace OpenLegends\Asset\Test\Player;
|
||||||
|
|
||||||
|
class Elf extends \OpenLegends\Engine\Abstract\Player
|
||||||
|
{
|
||||||
|
public function __construct()
|
||||||
|
{
|
||||||
|
$this->setName(
|
||||||
|
_('Elf')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setDescription(
|
||||||
|
_('Just Elf')
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setHealth(
|
||||||
|
30
|
||||||
|
);
|
||||||
|
|
||||||
|
$this->setRunes(
|
||||||
|
5
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user