Total Complexity | 5 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | /* |
||
30 | public final class SpellCasted { |
||
31 | private final Cast action; |
||
32 | |||
33 | 1 | public SpellCasted(Cast action) { |
|
34 | 1 | this.action = action; |
|
35 | 1 | } |
|
36 | |||
37 | public Cast action() { |
||
38 | 1 | return action; |
|
39 | } |
||
40 | |||
41 | public Spell spell() { |
||
42 | 1 | return action.spell(); |
|
43 | } |
||
44 | |||
45 | public Fighter caster() { |
||
46 | 1 | return action.caster(); |
|
47 | } |
||
48 | |||
49 | public FightCell target() { |
||
50 | 1 | return action.target(); |
|
51 | } |
||
53 |