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