Skip to content

Package: FGmixedCinemaStrategyFactory

FGmixedCinemaStrategyFactory

nameinstructionbranchcomplexitylinemethod
FGmixedCinemaStrategyFactory()
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(FGMoveFactory)
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.ipspiel24.fg.strategy;
2:
3: import de.fhdw.gaming.ipspiel24.fg.domain.FGStrategy;
4: import de.fhdw.gaming.ipspiel24.fg.domain.factory.FGStrategyFactory;
5: import de.fhdw.gaming.ipspiel24.fg.moves.factory.FGMoveFactory;
6:
7: /**
8: * Implements {@link FGStrategyFactory} by creating a {@link FGSayYesStrategy}.
9: */
10: public class FGmixedCinemaStrategyFactory implements FGStrategyFactory {
11:
12: @Override
13: public FGStrategy create(final FGMoveFactory moveFactory) {
14: return new FGmixedCinemaStrategy(moveFactory);
15: }
16:
17:
18: }