Completed
Push — master ( a5d74c...946f06 )
by Jakub
06:04
created

ActionSelector   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 7
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A chooseAction() 0 2 1
A getAllowedActions() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
namespace HeroesofAbenez\Combat;
5
6
/**
7
 * ActionSelector
8
 *
9
 * @author Jakub Konečný
10
 */
11
final class ActionSelector implements ICombatActionSelector {
12
  public function getAllowedActions(): array {
13
    return [];
14
  }
15
  
16
  public function chooseAction(CombatBase $combat, Character $character): ?string {
17
    return NULL;
18
  }
19
}
20
?>