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

Wolf   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 8
dl 0
loc 11
ccs 0
cts 8
cp 0
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
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