Package: C4RandomMoveStrategyFactory
C4RandomMoveStrategyFactory
| name | instruction | branch | complexity | line | method | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| C4RandomMoveStrategyFactory() | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
| create(IC4MoveFactory) | 
  | 
  | 
  | 
  | 
  | 
||||||||||||||||||||
Coverage
1: package de.fhdw.gaming.ipspiel23.c4.strategies.internals;
2: 
3: import de.fhdw.gaming.ipspiel23.c4.moves.factory.IC4MoveFactory;
4: import de.fhdw.gaming.ipspiel23.c4.strategies.IC4Strategy;
5: import de.fhdw.gaming.ipspiel23.c4.strategies.IC4StrategyFactory;
6: 
7: /**
8:  * The factory for creating {@link C4RandomMoveStrategy} instances.
9:  */
10: public class C4RandomMoveStrategyFactory implements IC4StrategyFactory {
11: 
12:     @Override
13:     public IC4Strategy create(final IC4MoveFactory moveFactory) {
14:         return new C4RandomMoveStrategy(moveFactory);
15:     }
16: }