Skip to content

Package: KopfundZahlundKanteKopfStrategyFactory

KopfundZahlundKanteKopfStrategyFactory

nameinstructionbranchcomplexitylinemethod
KopfundZahlundKanteKopfStrategyFactory()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
create(KopfundZahlundKanteMoveFactory)
M: 0 C: 5
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.gaming.ipspiel22.kopfundzahlundkante.strategy;
2:
3: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.domain.KopfundZahlundKanteStrategy;
4: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.domain.factory.KopfundZahlStrategyFactory;
5: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.moves.factory.KopfundZahlundKanteMoveFactory;
6:
7: /**
8: * Implements {@link KopfundZahlStrategyFactory} by creating a {@link KopfundZahlundKanteKopfStrategy}.
9: */
10: public final class KopfundZahlundKanteKopfStrategyFactory implements KopfundZahlStrategyFactory {
11:
12: @Override
13: public KopfundZahlundKanteStrategy create(final KopfundZahlundKanteMoveFactory moveFactory) {
14: return new KopfundZahlundKanteKopfStrategy(moveFactory);
15: }
16:
17: }