Total Complexity | 5 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class SingularityCoreSystemData extends AbstractReactorSystemData |
||
11 | { |
||
12 | function getSystemType(): ShipSystemTypeEnum |
||
|
|||
13 | { |
||
14 | return ShipSystemTypeEnum::SYSTEM_SINGULARITY_REACTOR; |
||
15 | } |
||
16 | |||
17 | public function getIcon(): string |
||
18 | { |
||
19 | return "singrkt.png"; |
||
20 | } |
||
21 | |||
22 | public function getLoadUnits(): int |
||
23 | { |
||
24 | return ReactorWrapperInterface::SINGULARITY_CORE_LOAD; |
||
25 | } |
||
26 | |||
27 | public function getLoadCost(): array |
||
30 | } |
||
31 | |||
32 | public function getCapacity(): int |
||
35 | } |
||
36 | } |
||
37 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.