Passed
Push — master ( b5c603...6073fe )
by Paweł
02:58
created

Wolf::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
dl 0
loc 9
ccs 0
cts 8
cp 0
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AardsGerds\Game\Entity\Beast\Animal;
6
7
use AardsGerds\Game\Build\Attribute\Etherum;
8
use AardsGerds\Game\Build\Attribute\Health;
9
use AardsGerds\Game\Build\Attribute\Strength;
10
use AardsGerds\Game\Build\Talent\TalentCollection;
11
use AardsGerds\Game\Entity\Entity;
12
13
final class Wolf extends Entity
14
{
15
    public function __construct()
16
    {
17
        parent::__construct(
18
            'Wolf',
19
            new Health(50),
20
            new Etherum(1),
21
            new Strength(10),
22
            new TalentCollection([]),
23
            null,
24
        );
25
    }
26
}
27