SkinBack   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 9
dl 0
loc 16
rs 10
c 1
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A startingPoints() 0 9 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Minepic\Image\Sections;
6
7
use Minepic\Image\Components\Component;
8
use Minepic\Image\Components\Side;
9
use Minepic\Image\Point;
10
11
class SkinBack extends BaseSkinSection
12
{
13
    protected string $side = Side::BACK;
14
15
    /**
16
     * @return Point[]
17
     */
18
    protected function startingPoints(): array
19
    {
20
        return [
21
            Component::HEAD => new Point(4, 0),
22
            Component::TORSO => new Point(4, 8),
23
            Component::RIGHT_ARM => new Point(0, 8),
24
            Component::LEFT_ARM => new Point(12, 8),
25
            Component::RIGHT_LEG => new Point(4, 20),
26
            Component::LEFT_LEG => new Point(8, 20),
27
        ];
28
    }
29
}
30