Skip to content

Package: MinMaxVGStrategyFactory

MinMaxVGStrategyFactory

nameinstructionbranchcomplexitylinemethod
MinMaxVGStrategyFactory()
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(VGMoveFactory)
M: 0 C: 4
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.vierGewinnt.strategy;
2:
3: import de.fhdw.gaming.ipspiel22.vierGewinnt.domain.VGStrategy;
4: import de.fhdw.gaming.ipspiel22.vierGewinnt.domain.factory.VGStrategyFactory;
5: import de.fhdw.gaming.ipspiel22.vierGewinnt.moves.factory.VGMoveFactory;
6:
7: /**
8: * Implements {@link VGStrategyFactory} by creating a {@link VGBestStrategy}.
9: */
10: public class MinMaxVGStrategyFactory implements VGStrategyFactory {
11:
12: @Override
13: public VGStrategy create(final VGMoveFactory moveFactory) {
14: return new MinMaxVGStrategy();
15: }
16:
17: }