Package: FGmixedMoveStrategyFactory
FGmixedMoveStrategyFactory
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FGmixedMoveStrategyFactory() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| create(FGMoveFactory) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
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:  * Factory that creates a random move.
9:  */
10: public class FGmixedMoveStrategyFactory implements FGStrategyFactory {
11: 
12:     @Override
13:     public FGStrategy create(final FGMoveFactory moveFactory) {
14:         return new FGmixedMoveStrategy(moveFactory);
15:     }
16: 
17: }